A lightweight WebGL2 helper library
- Easily extended shader class
- Screen quad for rendering
- Built-in scene graph
- Perspective and orthographic cameras
The library is designed as a set of ES6 modules so you can manage your own minification etc.
Start a local webserver in the repository, then navigate to localhost:[port]/examples
to see several sample projects.
The npm script npm run build
kicks off Rollup, and produces the file at dist/dowel.js
.
dowel includes two libraries for its dependencies: gl-matrix for the math, and webgl-obj-loader for simple OBJ file parsing. They're both excellent libraries and I encourage you to check them out.
- Stanford Bunny, provided by the Stanford Computer Graphics Laboratory
- Utah Teapot
- Asteroid Ryugu, assembled by Doug Ellison for reuse.
- documentation