Canvas 3D

From Wikiid
Jump to: navigation, search

Canvas is graphics for JavaScript in your browser.

Canvas 2D

Our version of 'SameGame'
The Foot of God

Canvas 3D

Installing

If you need to install Canvas 3D, you'll need Firefox 3.5 or later. Go to https://addons.mozilla.org and type 'Canvas 3D' into the search box. If the extension is still considered 'experimental' (it was at time of writing) then check the "Let me install this experimental add-on" box. Then click the "Add to Firefox" button - which will download and install Canvas 3D.

When you first visit a site that uses Canvas 3D, you may see a window banner that says "A web page at XXX would like to create a Canvas 3D context" - you'll need to click the "Allow" button.

Documentation

Handy libraries

  • Sylvester - matrix and vector functions for JavaScript.

Raw JavaScript/GL example