Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
October 24, 2008
Image Size
1.4 KB
Resolution
800×600
Link
Thumb
Embed

Stats

Views
925
Favourites
5 (who?)
Comments
10
Downloads
44

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×
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.
Add a Comment:
 
:iconxenomorph-queen:
Xenomorph-Queen Featured By Owner Nov 17, 2010
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!
Reply
:iconkeisans-bold:
keisans-bold Featured By Owner Nov 19, 2010
Thank you ^^
Reply
:iconfcreativedesigns:
FCreativeDesigns Featured By Owner Jul 19, 2010  Hobbyist Photographer
This is amazing just to look at.
Reply
:iconkeisans-bold:
keisans-bold Featured By Owner Jul 19, 2010
Thanks so much, I really appreciate it!
Reply
:iconfcreativedesigns:
FCreativeDesigns Featured By Owner Jul 19, 2010  Hobbyist Photographer
You're welcome
Reply
:icongraygoose:
GRAYgoose Featured By Owner Oct 26, 2008
can i have the code plz?
Reply
Hidden by Owner
:icongraygoose:
GRAYgoose Featured By Owner Oct 27, 2008
thanks
Reply
:iconbountyhuntress16:
BountyHuntress16 Featured By Owner Oct 25, 2008
I may have spent five minutes just watching this >.>

But pretty awesome stuff
Reply
:iconleloa:
Leloa Featured By Owner Oct 24, 2008  Professional Filmographer
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.
Reply
Add a Comment: