mattdesl / Kami Demos
🚧 Some demos for the Kami WebGL renderer
Stars: ✠116
Programming Languages
javascript
184084 projects - #8 most used programming language
about
kami is a minimal 2D framework built on WebGL. It supports some essential GL utilities, and a highly optimized sprite batcher. The library is still in heavy development.
demos
Below are some demos and tests for kami.
- normals - normal-mapped 2D images
- normals-pixel - retro graphics with normal maps
- s3tc - demo showing compressed textures (DDS, CRN) and TGA
- basic - sprite rendering
- assets - asset preloading
- shaders - some approaches to including GLSL code
- shockwave - a shockwave shader example, using post-processing
- blend - an example of programmable blending, by ping-ponging between two FBOs
browse source code
See the src folder for the code.
modifying & building the demos
Install node.js, it should come bundled with NPM. Then cd
to this directory and run the following to build the demos:
npm install
node build
This will write HTML and JS files to the release
folder. Then you should serve up the release
folder and browse it on your localhost. To watch the source folder for changes, you can use nodemon and the following command:
nodemon --watch src -e js,html,vert,frag build.js
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].