Creating generative art in haXe and OpenFrameworks (Feb 2011)
February 22nd, 2011 | Published in Uncategorized
I continue the journey of creating a piece of generative art everyday. And I am still using hxOpenFrameworks. BTW, since I don’t have a Mac running at this moment, I can’t have a Mac build. And actually I’m still messing with the Linux build… So hxOpenFrameworks is currently Windows only. I will release it to haxelib once it is cross-platform.
Anyway, here below are the selected pieces from my set of creations.
After last time I discovered the beauty of physics, I went with some typical simulations…shooting bullets.
It is not in real-time, but a frame-by-frame rendering. It would be nice if there is a haXe binding to PhysX or something.

Following is simply putting some circles from inside of a grid of sands. Look pretty like corruption.

And then there is a series of connecting points on a circle. It generates soooo many patterns with a single algorithm, I have to align the variations in a grid. Don’t draw them on a paper, it may summon a fire ball or something, don’t say I haven’t warned you


Since I was leaking idea, so better do some old school recursive stuffs… Turn out applying color on them can give you nice harmonic color scheme, and the proportion is perfect!

I like the following one very much. It first generates an array of points according to some regular polygon math, then sorts them according to the angle from origin and finally links them up.

Same as above, but reversed part of the math so the lines point outward.

Still playing with the above idea, but applied lots of tweaks to bring the interesting parts out.

In the latest weeks, I have been trying to create more concrete graphics. It takes more time then messing around with math equations, but I have more artistic control. First one plays with circuit board like structures.

Second concrete thing I created is a feather, as I really like birds. I used the easing equations(which are usually used for tweening) by Robert Penner to create the curves.

Creating a pair of wings is easy when you have feathers.

And finally, why not have 3 pairs when you simply can? Here comes a seraph.







