V

Avatar

(hmm) Arcs

I was looking at a thread at processing’s forum (processing.org/discourse/yabb2/YaBB.pl?num=1252940559/9#9), on creating some kind of flowerish forms. Looking to the pictures i have presented a method of how it would be possible to create something similar, and later on, i gave it a try. So, here is an implementation of the method presented on the forum to create those kinda form/shapes.

The idea is to use particles that are shot in different directions at different speed, save that particle’s path to a buffer and then render a mesh around that path. I already had ribbon like ways to render a mesh around a path, so the rest was just easy to implement.

includes: sub-scatter lighting, planar shadows, ribbons and some nice random colors.

After rendering the video above, i kept changing the code and adding some more goodies i thought it could become interesting, thus complicating. So, i’ve implemented a tree-like strucutre, in other words, each arc can give birth to new arcs. It still needs some more work, would be nice that a child could only be born to a limited angle, and not be able to come back to its parent’s direction, etc but…this is one Hmm experiment. If it becomes a product i’ll sure think about that. Meanwhile, enjoy.

frame0000172

frame0000214

Source code available here

No Comments, Comment or Ping

Reply to “(hmm) Arcs”

You must be logged in to post a comment.