To embed this scenario in a web page, copy the following HTML code:
A new version of this scenario was uploaded on Sun Mar 11 17:57:39 UTC 2012
Included duta's improved matfh functions and catch logic.
added more fade logic to color particles (fade logic already exists in world method)
holding mousebutton increases particle size
Edit: forgot to publish source code. sorry for repeated updates
Its starting to make good progress! :) I especially like it when you hold down the mouse button while moving it.
Here's the more complicated bit: joining the dots.
Its starting to make good progress! :) I especially like it when you hold down the mouse button while moving it.
Here's the more complicated bit: joining the dots.
i'm going to change it so that the particle accepts a parameter of shapeSize so that it's size is determined upon creation, not while it's moving, cause they all change when i click. not sure if that's what we want here
i'm at a real loss about joining the dots. i thought about changing it from fillOval to drawLine. i also think that the particles have to be able to communicate with eachother somehow.
I think adding an extra parameter to the particles which is a reference on the previous particle (previous in a chonological order of creation sense), and then it draws to that particle maybe?
2012/3/11
2012/3/11
2012/3/11
2012/3/11
2012/3/12