random thing I made while playing around with webgl and fps-style cameras.