Canvastastic beta_1 released

The loose ends are now tied up and Canvastastic is ready for a not-chronically-rushed release. It’s now placed under a proper licence (the LGPL) and, more importantly, it has actual API documentation!

Download: Canvastastic beta_1 (20K, .tar.gz)

If you’re anything like me, you’ll probably be turning your nose up at having to download the thing just to see what the fuss is about, so I’m happy to oblige with some online demos…

  • Boxes (demonstrates lighting and camera movement)
  • Robot (demonstrates transforms and animation)
  • and finally, the library source itself, for those wanting a spot of light bedtime reading.

5 Responses to “Canvastastic beta_1 released”

  1. This is Fantastic! :) Cant wait to see what folks build on this.

  2. I posted some comments at – my opinions may be completely wrong, but I think I’d feel happier with a library that’s more like OpenGL in that you can change the current matrix and draw nicely lit triangle lists without having to set up everything in a scene graph first. (Then the Scene interface could be implemented on top of that, but would be optional). But I don’t know whether that’d be possible to implement as efficiently, and the current version is still rather impressive :-)

    (Something else that could be really nice is for the library to take advantage of the gles11 (hardware-accelerated OpenGL) context that is being worked on for Firefox, with the 2d implementation as a fallback when that’s not available…)

  3. matt says:

    Aha, excellent! I was starting to wonder if a community existed for this sort of thing… cheers for the pointer. Joined up and replied now…

  4. [...] So, after a couple of weeks beavering away on this of an evening, I’m pleased to announce the initial release of Sylvester, a vector and matrix mathematics library for Javascript. The project site has a bunch more information, and API docs for about half the code. My plan is to build this up into a 3D geometry and rendering framework over time, but I’m trying to make all the classes as generally useful as possible. I’ve seen a bunch of 3D renderers around the web and they seem to mostly be proofs of concept without a more general-purpose API. The one exception to this would be Matt Westcott’s Canvastastic, which I like a lot, but it doesn’t expose its core building blocks – vectors, matrices and the like. It has methods for multiplying specific types of matrices, but no general-purpose classes for doing this type of maths. [...]

  5. [...] goes at least) has not moved on one jot in the last two years, so I was able to dust off the Canvastastic codebase and found it still pleasantly usable and not too affected by code rot. I gave it a [...]

Leave a Reply