gl-canvas

0.3.0 • Public • Published

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="gl-canvas.esm.js"></script>
<gl-canvas></gl-canvas>

Installation

npm install gl-canvas

Features

Contributing

Pull requests and suggestions are very welcome now

License

MIT

Package Sidebar

Install

npm i gl-canvas

Weekly Downloads

7

Version

0.3.0

License

MIT

Unpacked Size

16.2 kB

Total Files

8

Last publish

Collaborators

  • randname