Skip to content

A starting pattern for canvas apps, animations and games.

Notifications You must be signed in to change notification settings

briancribb/canvas-stuff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Canvas Stuff

A starting pattern for canvas animations. One for vanilla JavaScript and one for CreateJS. These don't include extra canvases or other tricks because they're intended to be (almost) blank slates.

I'm also going to put some basic canvas projects in here, to use as templates for larger things.

Vanilla Version

The vanilla version has a snowflake animation in place to use as an example for future work. It's intended for smaller animations which don't require assets to be loaded.

CreateJS Version

The CreateJS version has the same snowflake animation, but also has a preloader for assets. Some example images are included, and are appended to the body just to show that they loaded. I thought about building a vanilla loader, but then decided against it. If I don't want to use EasleJS, I can still use PreloadJS on its own.

Inspirations:

Structure inspired by:

Page Visibility API and Polyfill for vendor prefixes:

About

A starting pattern for canvas apps, animations and games.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published