4 ms·
And here's the magic: http://chalk.37signals.com/chalk.js http://chalk.37signals.com/chalk.js http://chalk.37signals.com/stylesheets/chalk.css http://chalk.37si
by nopal 16y ago
And here's the magic: http://chalk.37signals.com/chalk.js http://chalk.37signals.com/chalk.js http://chalk.37signals.com/stylesheets/chalk.css http://chalk.37signals.com/stylesheets/chalk.css
It's fun to look at this stuff, especially from the perspective of someone who hasn't gotten into HTML5 yet.
- jbail 16y agoit would be super easy to add support for mouse events. [tutorial] They are attaching events using jQuery's bind method. Like: canvas.bind("touchstart", ... You can add multiple events into bind. To add support for mouse events, you'd just add in the requisite mouse events, like so: canvas.bind("touchstart mousedown" ... canvas.bind("touchmove mousemove" ... canvas.bind("touchend mouseup" ... [/tutorial]