Blog: entries tagged with "generative"
Art and music
Wednesday 2 May 2007
Tonight, Sean’s out of town and M. is performing in a musical uptown, so the house will be free for Flickershow recording, hooray!
Only yesterday I was reading Muffy’s reports from the Open Ears festival and wishing I’d made it back to KW to catch it. I don’t generally get to see many shows, and the reason mostly boils down to Too Damn Busy. Either I’m working late (Sean and I seem to be home at 10pm as often as not), recording or playing with Flickershow, or recovering from the above.
I’m determined to change things around now. Coming home at a more reasonable time, for one thing; for another, working Saturday and staying home to work on music in the middle of the week, when the house is empty.
And I think I’ll have to check out some of the events at Deep Wireless: A Festival Of Radio Art. (Thanks, Torontoist.)
Here’s the latest version of the particle sim - the particles attract this time around, and have random values for mass.
I’ve cleaned up the source and commented the hell out of it, and collected most of the major parameters so they’re easy to adjust before compiling.
Source plus the containing FLA file:
Particles1_8.zip
Particles
Monday 30 April 2007
Particle simulation in Actionscript. Up to 10 particles in a simulated "container". Occasionally explodes if particles get too close (due to dividing by zero or almost zero) - common with higher number.
With one particle interacting with the container the path is regular and uniform. But add one more particle and things get crazy and chaotic. Essentially it's the three-body problem, with the container (a bowl, described by an equation something like z=kd6 where d is the distance from the origin) as the third "body".
[Update: Using SWFObject to embed Flash now. Fingers crossed.]
Page 1 of 1 pages
