HOME | DD

Zaleucus — Particle Toy v1

Published: 2004-08-16 09:01:18 +0000 UTC; Views: 5218; Favourites: 28; Downloads: 1670
Redirect to original
Description No fancy info boxes are built in so listen up:

Gravity is pretty simple. This value is added to the y velocity of each particle every frame. It can be neggative and really large... but expect things to break when you put it higher.

Bounce is the number the y velocity (well, relative to the line) is multiplied by when a line collision is detected. This means it's neggative. -1 would be no velocity is lost when it bounces, below that would be physically impossible in the real world as energy would be being added to the particle.

Gravitate to the Mouse simply turns on and off gravitation to the mouse. No constants can be changed in this version.

Trail Fade is the number that is subtracted from each trail segment on each frame. This means that 0 would make the trails not fade at all, but they do have a maximum length. The lower the number the more CPU it takes. I made the scale non-linear so that you have finar adjustment when the numbers get smaller.

Lines:
- Drag them from the center.
- Stretch them from the ends.
- Rotate them from anywhere else.

The only bugs that I know of are on a perfectly straight line the particles will sometimes fall through when they are not bouncing at all.

This took a fair amount of time to make and it would have taken much longer without:
smurfMX
Some of the guys from #flash on efnet.
And bit-101 where I originally got the idea from.
Related content
Comments: 48

Veganvictim [2009-07-30 10:35:24 +0000 UTC]

Dude, hands down you still have the most entertaining.."app" I guess, on dA!

👍: 0 ⏩: 1

Zaleucus In reply to Veganvictim [2009-08-01 18:11:31 +0000 UTC]

haha, thanks! always had bigger plans for this but as with most personal projects I never got around to it

👍: 0 ⏩: 1

Veganvictim In reply to Zaleucus [2009-08-02 12:47:50 +0000 UTC]

haha, is there an element of stonerism in your life? I guess that I'm the same!!

👍: 0 ⏩: 1

Zaleucus In reply to Veganvictim [2009-08-02 22:36:37 +0000 UTC]

Hah, well I do live in california. Oh, and there are pictures... [link]

👍: 0 ⏩: 1

Veganvictim In reply to Zaleucus [2009-08-02 22:38:42 +0000 UTC]

Now that's what I'm talking about!! must get some close ups of mine, the crystals on the orange crush look tasty

👍: 0 ⏩: 0

brandonwitzel [2006-03-23 23:15:08 +0000 UTC]

Cool!

👍: 0 ⏩: 1

Zaleucus In reply to brandonwitzel [2006-03-24 02:33:01 +0000 UTC]

Thanks!

👍: 0 ⏩: 0

OrangeHeretic [2006-03-22 22:51:24 +0000 UTC]

I love flash experiments, Had fun messing around with this one.

👍: 0 ⏩: 1

Zaleucus In reply to OrangeHeretic [2006-03-23 09:45:45 +0000 UTC]

Thanks

I've redone the line collision code and it now works much better... hopefully will be posting a new one soon.

👍: 0 ⏩: 1

OrangeHeretic In reply to Zaleucus [2006-03-28 21:50:09 +0000 UTC]

Sweet. I'll look for it.

👍: 0 ⏩: 0

Ron1649 [2006-03-04 12:52:21 +0000 UTC]

Perfect!

👍: 0 ⏩: 1

Zaleucus In reply to Ron1649 [2006-03-04 19:44:56 +0000 UTC]

^_^

👍: 0 ⏩: 0

UTGrim [2006-02-11 14:42:03 +0000 UTC]

It's awesome!

👍: 0 ⏩: 1

Zaleucus In reply to UTGrim [2006-02-11 20:13:15 +0000 UTC]

Thanks

👍: 0 ⏩: 0

Veganvictim [2005-12-05 09:21:12 +0000 UTC]

hours of fun!!!

👍: 0 ⏩: 0

LeandroMoreira [2005-08-30 21:54:30 +0000 UTC]

Hey! very very good your work. congratulations!!

👍: 0 ⏩: 0

Veganvictim [2005-06-22 22:26:36 +0000 UTC]

ha ha - this is really good, spent 20 ,minutes playing with it, well done, it's very clever - very very clever

👍: 0 ⏩: 0

zen-x [2005-05-16 23:20:53 +0000 UTC]

It's fun to try and get the particle into a stabe orbit around the mouse. Kepler ROCKS.

A great example of simulated forces in flash, you could develope this further into some very pretty. A tutorial / source code would be cool, but if you want to keep your secrets your own I would completely understand.

GJ.

Peace

zen-x

👍: 0 ⏩: 1

Zaleucus In reply to zen-x [2005-05-18 08:07:03 +0000 UTC]

I can email you the source if you'd like... it's just not commented and I'm not sure how self explanatory it is. I'd post it if I had taken more time to make it look nice

PM me if you want it... assuming I can find it as it's been a while since I've opened flash.

👍: 0 ⏩: 0

rabbitrabbit [2005-01-28 06:39:20 +0000 UTC]

I could play with this... for HOURS...

👍: 0 ⏩: 0

alan-whit [2005-01-11 12:43:45 +0000 UTC]

could play for hours!

👍: 0 ⏩: 0

thejcgerm [2004-10-31 22:24:37 +0000 UTC]

you know i would...

👍: 0 ⏩: 0

Gwydion22 [2004-10-02 02:50:22 +0000 UTC]

this is so much fun!

👍: 0 ⏩: 0

Kyzarius [2004-09-03 09:41:04 +0000 UTC]

Very addictive. They should add this to a science museum when people learn about the velocities and gravity. >w< Great job!

👍: 0 ⏩: 0

pumpy [2004-08-24 09:00:28 +0000 UTC]

you do that? it's your idea?

👍: 0 ⏩: 1

Zaleucus In reply to pumpy [2004-08-24 09:04:11 +0000 UTC]

Yes, it's my idea. But as it says the people credited helped me accomplish it.

👍: 0 ⏩: 0

VigilCat [2004-08-23 06:36:59 +0000 UTC]

you are AWESOME!! this is so simple so its brilliant!!!
sooooooo entertaining!!

👍: 0 ⏩: 1

Zaleucus In reply to VigilCat [2004-08-24 09:05:11 +0000 UTC]

Thanks!

👍: 0 ⏩: 0

Digital-tuner [2004-08-20 10:37:19 +0000 UTC]

omg dude this deserves a DD !

👍: 0 ⏩: 1

Zaleucus In reply to Digital-tuner [2004-08-21 01:30:06 +0000 UTC]

Hehe,

👍: 0 ⏩: 0

ravenziel [2004-08-19 10:51:59 +0000 UTC]

So damn fun and so addictive !!!!!
gr8 !!!

👍: 0 ⏩: 1

Zaleucus In reply to ravenziel [2004-08-21 01:29:56 +0000 UTC]

Thanks

👍: 0 ⏩: 0

Mish87 [2004-08-18 21:35:14 +0000 UTC]

This is simply tooooo cool not to fav.

👍: 0 ⏩: 1

Zaleucus In reply to Mish87 [2004-08-19 00:36:17 +0000 UTC]

Thanks

👍: 0 ⏩: 1

Mish87 In reply to Zaleucus [2004-08-19 00:38:06 +0000 UTC]

no problemo

👍: 0 ⏩: 0

Laiqualasse [2004-08-17 10:26:01 +0000 UTC]

I LOVE IT!!! you really can do action script! I'm IMPRESSED!! Fantastic!

👍: 0 ⏩: 1

Zaleucus In reply to Laiqualasse [2004-08-19 00:35:09 +0000 UTC]

Thanks, just wait till the next one

👍: 0 ⏩: 0

esotericsean [2004-08-17 08:07:20 +0000 UTC]

pretty cool. i just spent like 10 minutes playing with it, lol. flash is great

👍: 0 ⏩: 1

Zaleucus In reply to esotericsean [2004-08-17 19:25:36 +0000 UTC]

Thanks!

👍: 0 ⏩: 0

ravenworks [2004-08-16 15:07:44 +0000 UTC]

You, sir, impress me a lot ^ ^ Wonderful job...

👍: 0 ⏩: 1

Zaleucus In reply to ravenworks [2004-08-16 20:03:56 +0000 UTC]

Thanks

👍: 0 ⏩: 0

blindmanbliff [2004-08-16 14:26:12 +0000 UTC]

yet another interesting pice of flash! I'd always love people that could do action script well! You have got my fav again!

👍: 0 ⏩: 1

Zaleucus In reply to blindmanbliff [2004-08-16 20:02:25 +0000 UTC]

Thanks!

👍: 0 ⏩: 0

I-flash [2004-08-16 13:45:14 +0000 UTC]

Mann!! This is awsome... dont even know why i have this childish trait of always wantin to play with flash-thingies

👍: 0 ⏩: 1

Zaleucus In reply to I-flash [2004-08-16 20:02:10 +0000 UTC]

Everyone loves a flash toy

👍: 0 ⏩: 0

smurfmx [2004-08-16 13:09:55 +0000 UTC]

I don't think it'd ever get done without me . Looks and works great man!

👍: 0 ⏩: 1

Zaleucus In reply to smurfmx [2004-08-16 19:59:53 +0000 UTC]

Hehe... I think it would have >_> Maybe in a few years

👍: 0 ⏩: 1

smurfmx In reply to Zaleucus [2004-08-16 20:01:06 +0000 UTC]

Yup, try and tell yourself that.

👍: 0 ⏩: 0