HOME | DD

keisans-bold — Nodes by-nc-sa

Published: 2008-10-24 21:58:17 +0000 UTC; Views: 1471; Favourites: 6; Downloads: 51
Redirect to original
Description Note: Sometimes the particles start in the four corners....I don't really know what's causing this, but usually if you just refresh it'll work the way it's supposed to.

I've been doing a lot of work playing with flash dynamic kinematics recently (read: I want to feel important by using big words) And a couple of people have wanted to see what I've been up to, so here's on of the prettier things I've done.

*WARNING, PROGRAMMING / PHYSICS CONTENT*
Pretty much I'm dealing with multi particle interactions in a bunch of different ways, this particular model assigns each particle a random mass (the physics definition: resistance to change in current velocity) and related size (the larger the mass, the greater the radius of the particle). Each particle begins with a random x,y velocity, but if they come within 150 pixels of one another, they will create a spring between the two (affecting at a rate of like 0.005, if anyone's interested....just lots of trial and error).

of note: there is a bug in this code that occasionally gives the particles disproportionately high velocities, so if you leave it on, the particles will just keep moving faster and faster. I have a version that has fixed this, but I kind of like how the current version works, so I'm leaving it up.
Related content
Comments: 9

Xenomorph-Queen [2010-11-17 15:50:17 +0000 UTC]

Woooaoaaaaaa~

This is physics class all over again!! The interactions between the molecules are insane! Also, the larger the mass, the more inertia it has, and therefore, the more force is needed to make it move! This is very obvious at the begginning of your animation as the larger particles are the slowest one.

Good job!

👍: 0 ⏩: 1

keisans-bold In reply to Xenomorph-Queen [2010-11-19 16:29:11 +0000 UTC]

Thank you ^^

👍: 0 ⏩: 0

FCreativeDesigns [2010-07-20 04:09:52 +0000 UTC]

This is amazing just to look at.

👍: 0 ⏩: 1

keisans-bold In reply to FCreativeDesigns [2010-07-20 04:17:01 +0000 UTC]

Thanks so much, I really appreciate it!

👍: 0 ⏩: 1

FCreativeDesigns In reply to keisans-bold [2010-07-20 04:23:46 +0000 UTC]

You're welcome

👍: 0 ⏩: 0

GRAYgoose [2008-10-27 00:22:58 +0000 UTC]

can i have the code plz?

👍: 0 ⏩: 1

keisans-bold In reply to GRAYgoose [2008-10-27 06:01:14 +0000 UTC]

Hidden by Owner

👍: 0 ⏩: 1

GRAYgoose In reply to keisans-bold [2008-10-27 13:27:45 +0000 UTC]

thanks

👍: 0 ⏩: 0

BountyHuntress16 [2008-10-26 05:32:22 +0000 UTC]

I may have spent five minutes just watching this >.>

But pretty awesome stuff

👍: 0 ⏩: 0

Leloa [2008-10-25 02:35:03 +0000 UTC]

That is actually quite neat!
I almost wish that the outline of the circles changed colour though. I don't have any idea how you'd do that, but I think it'd make it look prettier and more space-y.

👍: 0 ⏩: 0