C++ JavaScript Python
Failed to load latest commit information.
examples Change to use v8-typed-array. May 29, 2011
src Closes #3 - texParameter bug: used wrong index in arguments Jul 13, 2011
.gitignore Initial release Jun 9, 2010
README.md
wscript Change to FreeImage for image loading May 28, 2011

README.md

node-webgl

Screenshot

Dependencies

  • node.js
  • SDL
  • OpenGL
  • FreeImage

Building

node-waf configure build
npm install https://github.com/pufuwozu/v8-typed-array/tarball/master

Testing

node examples/example.js
chromium-browser examples/example.html

On Mac OS X, you have to run the following first:

export SDL_VIDEODRIVER=x11

Developing

  • Add more WebGL functions!
  • Make some node.js image libraries
  • Find nice ways to remove the nodejs variable from example-include.js
  • Add more events (e.g. keyboard)
  • Make/port some WebGL examples

See