egeldeprecated

A minimal framework around the WebGL API.

Usage no npm install needed!

<script type="module">
  import egel from 'https://cdn.skypack.dev/egel';
</script>

README

Egel

npm version dependencies devDependencies

A minimal framework around the WebGL API.

Screenshot

Default vertex attributes

  • aVertexPosition
  • aVertexIndex
  • aVertexNormal
  • aVertexColor
  • aTextureCoord

Default matrix uniforms

  • uProjectionMatrix
  • uModelMatrix
  • uModelViewMatrix
  • uNormalMatrix

Installation

Make sure you have Node.js installed.

$ npm install

Usage

$ npm start

$ npm run lint

$ npm run dist

$ npm run deploy

Licence

My work is released under the MIT license.