Skip to content

musakui/gl-canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gl-canvas

Published on NPM Published on webcomponents.org

a Custom Element that extends <canvas> with handlers for the WebGL context and various events.

Usage

Note: twgl.js is not required but highly reccomended when working with raw WebGL calls

in HTML

<script type="module" src="https://esm.run/gl-canvas/gl-canvas"></script>
<gl-canvas></gl-canvas>

Installation

npm install gl-canvas

Features

Contributing

Pull requests and suggestions are very welcome now

License

MIT