Meng
5/15/19
Notes on what I've changed about the particle system before adding swarm class
Question: Why does [changing velocity in the CONSTRUCTOR()] create a different motion from [changing velocity in UPDATE()]?
What infinitesimalaccumulates.js looks like right now, before adding in swarm.
(Fixed, simple) Problem: Got trouble after trying to define the Swarm class
(Fixed, simple) Problem: Added swarm, but the particles do not follow the mouse.
(Fixed, simple) Problem: when you move particles from particles[] to swarm[], you're decreasing particles.length. Therefore the code below runs, adding new particles to the screen.
Renamed Swarm class to SwarmParticle
Problem: swarm particles move too quickly. The motion is erratic.
Another problem: got home, found that I had not saved since two hours ago, despite repeatedly clicking "ctrl-s" while at the library. Now I've got to retrace my steps...thank goodness I documented.
(Fixed, simple) Problem: SwarmParticles form a square around the mouse...not a very organic form.
(Fixed, simple) Problem: swarm continues to expand even after all the particles are collected.