Toribash
Original Post
[Flash] Coded charged particles
Charged Particles

This was coded with lots of arrays and classes. The particles are emitted from your mouse (like drawing) and they are positively charged. So the + signs repel and the – signs attract. The mouse itself repels when it is not drawing particles. I might add some updates to this later.

If you just hold the mouse down in a fixed spot, you can see the path visualized by a stream of particles. The moment you let go, they burst from your mouse.




http://shnitzelkiller.deviantart.com...cles-117543484


Flash player is great, so if you want no lag, just download it.



__________________________________________

Update:

in this version, particles leave trails, and looks pretty after a while. click on the image to view.



————————
Update 2:

in this version, the lag bug is fixed completely and the attractors / repellers move. Xzibit was in it... but I took him out, because it messed with the beauty. (no trails here, but the point is that holding the mouse can make dynamic trails, since the attractors and repellors move).


(click to view)


Download it!


Whadda you guys think? It's not a game, of course, but it's an interactive toy.
Last edited by FoodEater; Apr 11, 2009 at 04:49 AM.
Crazy stuff... :o
Nicely done foodeater, what programming language did you use for this? (you programmed it right? ?)
Aut viam inveniam aut faciam. "Either I shall find a way, or I shall make one"
[Sigma] / / / |OLDA|
oh really nice, I'm just learning programming on college :]
Aut viam inveniam aut faciam. "Either I shall find a way, or I shall make one"
[Sigma] / / / |OLDA|
Food, Ur crazy. In a good way.
Sigma | Gata
Lost pet looking for home
Originally Posted by Tapion View Post
Food, Ur crazy. In a good way.

Seconded.
;]
Aut viam inveniam aut faciam. "Either I shall find a way, or I shall make one"
[Sigma] / / / |OLDA|
Thanks for the feedback!

oh really nice, I'm just learning programming on college :]

(I'm not in high school yet ;)

EDIT: Oh, and if you don't want the particles to die or your mouse to repel, here's an alternate version.


Edit: And here's another alternate version where they leave trails: http://shnitzelkiller.deviantart.com...-ver-117595222
Last edited by FoodEater; Mar 30, 2009 at 08:51 PM.
I've dedicated most of my youth on guitar, so now i gotta learn other things :P
but, anyway, awesome job for not even being in high school :]
Aut viam inveniam aut faciam. "Either I shall find a way, or I shall make one"
[Sigma] / / / |OLDA|