I finally got around to getting this to work in flash. Its based on a great processing model here:Crickets Chirping. I think it could be used as a pretty interesting interface. We have a couple of ideas that we are throwing around for this. It was fun to finally sit down and sort it out. The speed difference between java and flash is pretty amazing. The processing code runs the packing algorithm 50 times per frame, I run it 5. The accuracy is fine for our needs, but the difference is crazy.
Source: circlepack.fla

Hi thanks for checking out my processing code – I’m surprised that flash is only running 5 fps. It should be a *lot* faster than processing.
I also dig your blog header, though I think it (perhaps in combination with this circle packing .fla) is pegging my CPU
dear nullthing,
i think if you change your counter in your collapse/collide movie from “j=0″ to “j=i+1″ it helps to speed it up a bit.
this way when it calculates its position it doesnt do redundant calculations.
it still doesn’t run as fast as processing…but it helps.
Thanks for writing this.