Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
.gitignore
README.md
wscript

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