Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 678 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 678 Bytes

##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();