A fast cross-api graphics layer.

DaveShade is made to make development of graphical web applications faster, through easy access to any underlying graphics library the browser may have. This is done through a module that contains multiple functions that allows the developer to interact with any* graphics library.

*That has a module

By default it comes with a WebGL and a Base module, the base module exists for the purpose of extensibility.

Fun-Fact, the background of this page is rendered with DaveShade!

To get started grab a customized version, and run DaveShade.createInstance(canvas)

Looking for a color library?

Check out Heuphoria a color library built with DaveShade support!

Samples

Note that all samples run at 480x360 just to remove resizing code from the equation.
If you would like to resize the canvas you could run instance.resize(width, height)