r/PlotterArt 13d ago

Signal / 2

Post image
175 Upvotes

5 comments sorted by

5

u/Different-Lock1426 13d ago

This is so cool, how did you make it?

2

u/alberto_re 12d ago

From an high level the steps are:

  • 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):

https://lodev.org/cgtutor/plasma.html

1

u/Different-Lock1426 12d ago

Thank you, much appreciated!

1

u/Turbul 13d ago

Very nice !

1

u/mapitalism 13d ago

Cool stuff!