You need latest flash player to view these. (installation)

I’m playing with the pixels and math again. I decided to try goofy with golden ratio in as3.

private var goldenratio:Number = 2 * Math.cos(Math.PI*.2);

And came up doing something that doesn’t use much of the power that value contains. Anyway this one is weird enough to be posted.

It loops from very stable state into very complex chaos.

value = 0.5 + 0.5 * Math.sin(time*.0001);

var t:Number = 10000 * Math.sin(time*.0000001);

var dx:Number, dy:Number, g:Number = 1, r:Number, radius:Number;

var t:Number = 10000 * Math.sin(time*.0000001);

var dx:Number, dy:Number, g:Number = 1, r:Number, radius:Number;

var l:int = 3600;

for(var i:int = 0; i < l; i++)

{

g *= (1 + goldenratio * (.0011 + Math.sin(time*.003) * .0001));

r = 60 + Math.sin(time*.001) * 40;

radius = (g+r) * (1 + (Math.sin(i*radian* (2 + 2*Math.sin(time*.0001))) * value));

dx = radius * Math.sin(radian*i + t);

dy = radius * Math.cos(radian*i + t);

bit.setPixel32(ws+dx, hs+dy, 0xFFe9dd8f);

}

June 24th, 20099:55 pm

That’s just incredible. I have to go try out some of that stuff.

June 26th, 20096:17 pm

very cool, thanks for sharing