use process.stdout.write instead of console.log
lower frame rate to 24 fps
use setInterval rather than repeated setTimeouts
Merge pull request #4 from couchand/example-optimization

Example optimization