Skip to content
soulwire edited this page Jul 11, 2012 · 17 revisions

Settings

type fullscreen autoclear autostart container

Methods

setup start clear draw( ctx, dt ) resize( width, height ) touchstart touchmove mousemove click keydown keyup destroy

Properties

domElement mouseX mouseY oMouseX oMouseY touches currentTime previousTime ALT CTRL SHIFT

Constants

CANVAS

Globals

PI
TWO_PI HALF_PI QUATER_PI sin
cos
tan
pow
exp
min
max
sqrt
atan
atan2 ceil
round floor

Clone this wiki locally