Working copy

This commit is contained in:
Devine Lu Linvega
2016-12-31 10:18:01 -07:00
parent bb71cee73a
commit 452bcd0d41
4 changed files with 199 additions and 5 deletions

View File

@@ -1,2 +1,6 @@
dotgrid = new Dotgrid(300,300);
dotgrid.install();
dotgrid = new Dotgrid(300,300,10,10);
dotgrid.install();
document.addEventListener('mousedown', function(e){ dotgrid.mouse_down(e); }, false);
document.addEventListener('mousemove', function(e){ dotgrid.mouse_move(e); }, false);
document.addEventListener('mouseup', function(e){ dotgrid.mouse_up(e);}, false);