@tbuckley89/webgl-canvas
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

@tbuckley89/webgl-canvas

A web component that uses webgl to render strokes.

Installation

npm install @tbuckley89/webgl-canvas

Usage

Simply include the module and use <webgl-canvas> anywhere:

<webgl-canvas></webgl-canvas>

Properties

  • document -- controls what strokes are shown and gets notified when new strokes are added. This should implement the Document interface (see src/Document.ts) and pass it to webgl-canvas using canvas.document = doc;.

TODO

  • Control touch/stylus/mouse behavior
  • Reduce size by removing unnecessary parts of Three.js

Readme

Keywords

none

Package Sidebar

Install

npm i @tbuckley89/webgl-canvas

Weekly Downloads

1

Version

0.8.0

License

ISC

Unpacked Size

3.84 MB

Total Files

80

Last publish

Collaborators

  • tbuckley89