Moved the Iterator object into the update/render methods.
Removed the RANDOM object in favour of Math.random().
Initial commit. This effect was created by accident while editing the RainbowSnow effect.
Modified the confusing particle creation statement to improve performance and clarity.
Modified the confusing particle creation statement to improve performance and clarity.
Added a check, in the update() method, to prevent crashes caused by the alpha value of a color being below zero.
Rewrote the newParticle() method to improve clarity.
Rewrote the newParticle() method to improve clarity.
Rewrote the newParticle() method to improve clarity.
Rewrote the newParticle() method to improve clarity.
Rewrote the newParticle() method to improve clarity.
Increased the rate at which the colors change to get a more 3D-like effect.
Did some quick modifications to how the effects are tested. You only need to uncomment a single line in the constructor to test the various effects.
Did some quick modifications to how the effects are tested. You only need to uncomment a single line in the constructor to test the various effects.