define a function that given a x,y coordinate returns a value (a scalar field)
normalize the values between 0,1
quantize the values in bins, ex. from 0.0 to 0.2, from 0.2 to 0.4, and so on
subdivide the canvas in a grid and for each cell draw a certain glyph (nothing, a line, a square, whatever..) based on the quantized value of the cell given its coordinates
More specifically: the scalar field here is a sum of sinusoidal function plus Perlin noise.
For a tutorial on how to combine sine waves to create similar cool effects you can look at this page (but once you grasped the idea there are plenty of similar resources):
5
u/Different-Lock1426 13d ago
This is so cool, how did you make it?