first webgl thingy
simpler equations with trig
renames and cleanups