Home

Squareroot.js

A 2d/3d engine for WebGL and Canvas drawing and animation.

Most important links

Tutorials

Workshops

If you are running a web development company and would like me to come and make a presentation or workshop on WebGL, get in touch! Here is a sample presentation WebGL basics presentation.

####Other interesting WebGL links

Guide:

GL

Core WebGL rendering classes.

####Canvas 2d

Canvas 2d rendering engine. See canvas-rendering for details.

  • SQR.Transform2d - similar to the 3d transform above, but optimized for rendering on canvas and in 2d instead of webgl/3d
  • SQR.CanvasRenderer - a renderer to draw shapes on a 2d context
  • SQR.SpriteSheet - a utility to create sprite sheets for animation

Math

All the math classes, incuding vectors, matrices and some other goodies.

VR

Highly experimental classes that should help build web based VR expriences.

Extras

Misc stuff. Some real gems can be found in here!