First signs of life

Hiya! Slow start on my part, but here's the first functional steps for a bit of interactive art for the compo (LMB adds sparks, RMB erases them): https://verdantnode.com/builds/201707292222ghostsendfirst_sparks/

It was tougher than expected to correctly get sparks to bounce off each other instead of either annihilating or getting duplicated.

The end-goal is to use a webcam (or static portrait if webcam isn't present/permitted), and try to illustrate an AI as its running out of power to run on. I intend make the webcam aspect optional and disabled by default, instead defaulting to a static portrait until the viewer clicks a button to enable the webcam.

Next up is adding occasional random steering to the sparks (instead of just on collisions), and a bit of "rain" sparks to provide an ambient level. After that it'll be playing with using the webcam to make the sparks steer/prefer being in areas that are bright on the webcam texture (thereby hopefully getting the sparks to mimic the viewer).

ghostsemend/emfirstemsparks/em2.png