Skip to content

puffnfresh/node-webgl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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