Skip to content

livingston/Squares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

##Squares Code Climate

Animated background squares implemented with canvas

####Features

  • Simple random squares
  • Interactive squares – Mouse & Touch (WIP)
  • Patterns

####Usage Add the canvas element to your html page

<canvas id='grid'></canvas>

Include lodash.js and Squares.js before the </body> tag.

Add the following snippet to you javascript code,

var sqrs = new Squares(document.getElementById('grid'));
sqrs.tick();

Releases

No releases published

Packages

No packages published