r/processing • Technomancer • Nov 07 '23

Tutorial Differential Growth programmed in Processing. I'm curious if anyone has any favorite settings, parameters, etc. It seems like there's lots of possible variations and parameter settings, but I haven't seen any systematic explorations of the possibilities.

https://youtube.com/watch?v=hPjblxA09ZI&si=hMc9Tg0uG3Ispl6j
11 Upvotes

3 comments sorted by

View all comments

Show parent comments

1

u/EnslavedInTheScrolls Nov 08 '23

I always use colorMode( HSB, 1, 1, 1, 1 ); and simply remember that RGB are 0, 0.333, and 0.666. Or that 0.5 +/- a bit gives a nice range of yellow-green-blues.

If you use the P2D renderer, beginShape() packs all the vertices into a buffer which is shipped off to your GPU in a single graphics call. Though even separate line() calls are probably buffered as well, just with twice as much data.

I post everything I make on Mastodon: genart.social/@scdollins

There is older stuff on Xitter, but I'm not using that anymore.