HOME | DD

flashGamer — Particle Attraction

Published: 2006-05-22 22:45:58 +0000 UTC; Views: 2117; Favourites: 24; Downloads: 310
Redirect to original
Description flash 8 required

CLICK to add particle

RIGHT CLICK and select RESET to reset

Attraction Distance: How close two particles need to be to attract each other

Spring Amount : How much two particles attract each other when close enough

Line Width: Width of line between particles



Code is not 100% percent optimized so it might lag with high line widths and more than 30 or so particles
Related content
Comments: 21

Vulpeko [2008-02-03 17:21:14 +0000 UTC]

impressive indeed!

👍: 0 ⏩: 0

The-Titan [2006-06-04 17:38:26 +0000 UTC]

wow how the hell did u do this, no need to explain! its awsome!

👍: 0 ⏩: 1

flashGamer In reply to The-Titan [2006-06-04 23:05:59 +0000 UTC]

Haha, thanks for the comment.

👍: 0 ⏩: 0

championchap [2006-05-25 22:36:52 +0000 UTC]

oh my fuck!
you robbed my ideas!

i was going to do exactly this the other day!
came up with it whilst on the throne!

👍: 0 ⏩: 1

flashGamer In reply to championchap [2006-05-26 03:22:19 +0000 UTC]

Haha sorry to steal your thunder. I am not telepathic, i swear. But good idea.

👍: 0 ⏩: 1

championchap In reply to flashGamer [2006-05-26 11:08:07 +0000 UTC]

haha, well.. i guess i'll believe you
shame though, i was just thinking.. hmm, what would be a cool simple little interactive thing?

gawd, then i find out 3 days later its already been done!
haha, still.. it is pretty fantastic
nice job!

👍: 0 ⏩: 1

flashGamer In reply to championchap [2006-05-27 02:11:22 +0000 UTC]

thanks!

👍: 0 ⏩: 0

kabrotti [2006-05-24 00:40:36 +0000 UTC]

👍: 0 ⏩: 1

flashGamer In reply to kabrotti [2006-05-24 00:59:37 +0000 UTC]

Thanks. Nice smiley.

👍: 0 ⏩: 0

FlameReaper [2006-05-23 11:44:03 +0000 UTC]

wooah dave this shit rocks. awsome stuff. i played with somik like this ages ago but i could only get the lines to appear. i couldnt get them to then move towards each other. tht is some very nice work.

👍: 0 ⏩: 1

flashGamer In reply to FlameReaper [2006-05-24 00:58:49 +0000 UTC]

Thanks. More coming soon...hopefully

👍: 0 ⏩: 0

Actin4Life [2006-05-23 07:09:04 +0000 UTC]

that is by far the coolest.

unfortunately... my computer lags at about 75. but up 'til then, its craaazy.

👍: 0 ⏩: 1

flashGamer In reply to Actin4Life [2006-05-23 07:18:47 +0000 UTC]

Haha yea, unfortunately, the majority of people will have trouble handling around 30.
Im reluctant to limit the amount, but if you want to start over, simply right click and reset.

thanks for the comment dude. and the +Fav

👍: 0 ⏩: 0

muphin-man [2006-05-23 00:30:59 +0000 UTC]

sweet..

👍: 0 ⏩: 1

flashGamer In reply to muphin-man [2006-05-23 00:53:37 +0000 UTC]

Thanks dude

👍: 0 ⏩: 0

donkeypunchmurphy [2006-05-22 23:43:49 +0000 UTC]

First of all... this is totally sick. Congrats.

You may find that under this current configuration, optimisation is a real bear. you've got some of the new funky flash8 filters on this thing, and those hog up resources like a mofo. My best advice for an optimisation strategy, would be to eliminate line width (even though I love the effect), set a max limit for number of particles (which kinda blows, because the complicated ones are hot), ditch the convolution filter in lieu of some nice hex color math random script. it'll move right on dial up if you do that.

great work though.

m

👍: 0 ⏩: 1

flashGamer In reply to donkeypunchmurphy [2006-05-23 00:52:54 +0000 UTC]

Thanks for the comments. But unfortunately the line script is a some hex math to create the cool looking colors and eliminating that would enhance the performance but not too much. I will see what i can do for the optimization and thanks for the comment.
Glad you like.

👍: 0 ⏩: 1

donkeypunchmurphy In reply to flashGamer [2006-05-23 01:49:50 +0000 UTC]

I know. I wasn't exactly sure how you were doing that. In the past, I've seen some brave souls attempting that with a processor intensive approach via the convolution filter. If you're not doing that way, you're totally sickhouse. That's a good thing. I guess establisihing a high limit on points is the obvious approach. I have written a few recursive scripts that just slow a comp to a crawl past 8 iterations. it's a nasty debacle. Serious cool stuff though. Nice.

👍: 0 ⏩: 2

flashGamer In reply to donkeypunchmurphy [2006-05-23 02:06:10 +0000 UTC]

Im actually just uploading a new version where you can now right-click and reset the Particle Attraction back to just 2 particles

👍: 0 ⏩: 0

flashGamer In reply to donkeypunchmurphy [2006-05-23 01:56:26 +0000 UTC]

Thanks. I totally agree with the limiting the amount of points, i just have a problem limiting users on what they want to do.

👍: 0 ⏩: 1

donkeypunchmurphy In reply to flashGamer [2006-05-23 18:39:49 +0000 UTC]

i feel you on that one.

👍: 0 ⏩: 0