some old canvas and webgl stuff