Posted by: pixelero | November 26, 2014

Spiral Moiré

It started by creating a Low-discrepancy, or quasi-random sequence filling a circular area along a spiral.
Using a polar formula
x=\sqrt{\theta} \cdot cos(f \cdot \sqrt{\theta}), y=\sqrt{\theta} \cdot sin(f \cdot \sqrt{\theta})
gives a nice even-looking result:

When both the number of pixels and the rotations around the origin are increased, things start to get artistic. These are the results of choosing number of pixels to 75000, and value of ‘factor’ was 11.1:


Edit and update, 23 April 2021: I rewrote this code with Python available at Google Colab. In addition to a set of points it also renders the output as a minimal spanning tree. The code is also developed to apply to filling also to squares and triangles.


  1. Did you create a Pixel Bender filter for this purpose? If so, I would love to offer a tribute to your work in my next video.

  2. Hi and yes, the PB-file is at:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: