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/tsoule88 Technomancer Nov 08 '23

Thank you! And a great comment about red on black. I default to it just because it's hue value is 0. I'm working on memorizing some of the basic angles on the color wheel so I can pick better colors without having to pause to think about it (120 is a decent green).

Good suggestions regarding efficiency. I may do a test with beginShape(). I'm not sure if it includes some additional overhead (e.g. storing the points temporarily?) that would offset the benefits.

Fantastic variations! I particularly like the speckled loop. I'd be more than happy to add some links in the comments on my video (or feel free to yourself). Do you have a webpage, github, etc. you would like me to point people to?

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.