var Canvas = require('./');

var c = new Canvas(160, 20);

var i = 0;
function draw() {
  c.set(i%160, Math.floor(Math.sin(i/5)*10+10));
  c.unset((i-40+160)%160, Math.floor(Math.sin((i-40)/5)*10+10));
  i++;
  setTimeout(draw, 10);
  console.log(c.frame());
}

draw();

@@ -20,16 +20,49 @@
 e('./');
+%0Avar line = require('bresenham');
 %0A%0Avar c 
@@ -83,25 +83,15 @@
 60, 
-2
+16
 0);%0A%0A
-var i = 0;%0A
 func
@@ -112,123 +112,502 @@
   c.
-set(i%25160, Math.floor(Math.sin(i/5)*10+10));%0A  c.unset((i-40+160)%25160, Math.floor(Math.sin((i-40)/5)*10+10));%0A  i++
+clear();%0A  var t = new Date();%0A  var sin = function(i, l) %7B%0A    return Math.floor(Math.sin(i*2*Math.PI)*l+80);%0A  %7D, cos = function(i, l) %7B%0A    return Math.floor(Math.cos(i*2*Math.PI)*l+80);%0A  %7D;%0A  line(80, 80, sin(t.getHours()/24, 30), 160-cos(t.getHours()/24, 30), c.set.bind(c));%0A  line(80, 80, sin(t.getMinutes()/60, 50), 160-cos(t.getMinutes()/60, 50), c.set.bind(c));%0A  line(80, 80, sin(t.getSeconds()/60+(+t%251000)/60000, 75), 160-cos(t.getSeconds()/60+(+t%251000)/60000, 75), c.set.bind(c))
 ;%0A  
@@ -625,16 +625,21 @@
 draw, 10
+00/60
 );%0A  con

Add ridiculously cool clock example