With just 30 minutes of coding, I knocked out a small - but pretty inefficient - class to generate an Ulam spiral. In my plot, dot radius increases with fewer unique prime factors; brightness increases with the total number of prime factors.
The source code, should anyone want it, is public domain and can be found at:
It’s surprising how fast Java can be for one-shot bespoke graphics tasks like this.