Skip to content

Latest commit

 

History

History
executable file
·
22 lines (13 loc) · 761 Bytes

README.md

File metadata and controls

executable file
·
22 lines (13 loc) · 761 Bytes

WebGL Examples

These examples are specific to the new WebGL classes for EaselJS. These demos MUST all be run from a server, and are dependent on the ../../libs and ../assets directory.

Sparkles

Benchmarking and an example of a minimal StageGL implementation

Runners

Example showing StageGL, Sprite, BitmapText, and Bitmap in use in WebGL. Also shows the use of vector hit areas, and using the StageGL.isWebGL property to scale content when WebGL is not supported.

TwoStages

Demonstrates the use of Stage.nextStage to seamlessly pass mouse (and touch) interactions from a Context2D Stage to a WebGL StageGL layered beneath it.

Benchmark

A more fully-featured benchmark, with options to change between individual images and a SpriteSheet