
Desire of stability in the middle of vortex of change. Consider it absurd.
Sure I know it’s the self talking to me.

I’ve been coding Objective-C lately and less Flash. I have decided to learn more languages properly and the language of evil fruit company is one of those. I feel humble to be such a newbie, but at the same time I found new ideas for my AS3 coding patterns.
The constant of diverse is getting stronger and it’s quite obvious that in the future we need to know broader stack of techniques. Also we need to know these techniques deeper. For creating something ‘new’ we have to look even farther out of the box.
This is all because of the ever growing flood of information in this digital cosmos. Things are old at that very moment they where released. Our eyes glimmering we are producing piles of old crap.
It’s not depressing or even worrying. This is how it has always been. Things are again getting faster, broader and more diverse.
It’s the same Julia fractal animating under the hood that I created on last laboratory output. This time it’s rendered with 3d particles. I’ll post something else then particles next. I promise.
You may want to view it with flash player 10.1 beta 3 release :)

Modified an egg from Mandelbrot set. Few running numbers will sculpture it endlessly.

Trapped Julia set.
I know people who ones get into fractals and never came back. I hope I’m not one of those.

Here you see 1000 particles connecting each other if they travel close enough.

Combine 3D sphere into dimension two by connections.
Optimizing is everything. More you can optimize more powerful your tools become and you can do more. I never get tired of researching more ways to optimize.
First level of optimization is to get current code to run as efficient as possible by cutting off all unnecessary method calls and maths. Also strict typing and bitwise solutions need to be thought.
Second level is to think about the concept. Like in these demos if all objects check their distance with all objects the cpu will freeze. The solution is to split the scene into grid and push objects into those blocks according their coordinates. With that the distance check can be crop to affect only objects that are near.
Third level is something that I haven’t reached yet so don’t know anything about it yet.. :)
dx = -pa.x;
dy = -pa.y;
dz = -pa.z;
//dist = Math.sqrt(dx*dx + dy*dy + dz*dz);
//dsg = dist * dist * gravity;
dsg= (dx*dx + dy*dy + dz*dz) * gravity;
pa.vx += dx / dsg;
pa.vy += dy / dsg;
pa.vz += dz / dsg;
pa.vx = (pa.vx > max) ? max : ( (pa.vx < -max) ? -max : pa.vx );
pa.vy = (pa.vy > max) ? max : ( (pa.vy < -max) ? -max : pa.vy );
pa.vz = (pa.vz > max) ? max : ( (pa.vz < -max) ? -max : pa.vz );
pa.x += pa.vx;
pa.y += pa.vy;
pa.z += pa.vz;
I created this math last Spring for one project that didn’t finished then and has taken a new path now so this elegant loop has become available. I cannot think of better way to show it than combine it with the most intriguing being on Earth, the Blue Whale.
Make sure you have a head sets and your volume is set to high since Blue Whale has very low voice. A lot of his song is under our ability to hear. Never the less you can still feel it inside your head and deep in your stomach. That sound can be heard over 1200 kilometers away. These fellows can sing through oceans to each other!
Wikipedia:
“Source level of sounds made by Blue Whales are between 155 and 188 decibels when measured relative to a reference pressure of one micropascal at one metre. All Blue Whale groups make calls at a fundamental frequency of between 10 and 40 Hz, and the lowest frequency sound a human can typically perceive is 20 Hz. Blue Whale calls last between ten and thirty seconds. Blue Whales off the coast of Sri Lanka have been repeatedly recorded making “songs” of four notes duration lasting about two minutes each.”
I was inspired by this video and song by John Boswell to watch the Carl Sagan‘s Cosmos series from the seventies. What a pedagogue this man was and still is!
Here‘s my art contribution to honor him.
I think the song is master piece after knowing the raw material Mr. Boswell used. Check out his stuff at colorpulsemusic.com. By the way it’s a whale song.. If you are wondering what Sagan is trying to sing at the beginning.
The visual synchronization is made by using only soundChannel.left- ja rightPeak. You may click on it to activate the explosion.
Ohh and here are the code for creating sphere that has it’s points correctly randomly separated.
z = -1 + 2 * u;
var z2:Number = Math.sqrt(1.0 – z * z);
var phi:Number = (2. * Math.PI) * v;
x = z2 * Math.cos(phi);
y = z2 * Math.sin(phi);
I have wanted to do this right after I did it in 2d almost a year ago. The task wasn’t easy since there is exponentially more of everything and that cost cpu.
Well.. “If you wish to make an apple pie from scratch, you must first create the universe.” – said Carl Sagan and that meant study on optimizing the as3.
Here are the rules:
1. Every dot know their neighbours at up, down, left, right, back and forward.
2. Ones their Boolean ‘active’ is true they scale up and add random value to their property ‘hot’.
3. If random value is greater then their hot value they set their neighbours active to true.
4. All dot’s ‘hot’ and ‘scale’ value drops during time.
Click on them to active one random dot. Realize that what you are seeing are reactions created by change in constant system.