Zig-Zag 10PRINT in two.js

Just using random() < 0.5 as a threshold.

Just using if (noise(x, y) > 0.5) as a threshold.

Now, let’s add some shifting and layering.

Here, we do the drawing several times, each time layering ou top of the last while changing a third dimension of the noise. Also, we shift the points based on the noise.

dt Noise Scale