Particle generation from a shape, and basic mousemove handler