5 ms·
I'm curious what the rationale is for drawing from a queue instead of directly in the move event. Shameless plug: I threw together an open-source version for b
by mrduncan 16y ago
I'm curious what the rationale is for drawing from a queue instead of directly in the move event.
Shameless plug: I threw together an open-source version for browsers (or mice, more specifically) this morning - http://news.ycombinator.com/item?id=1873371 http://news.ycombinator.com/item?id=1873371
https://github.com/mrduncan/marker https://github.com/mrduncan/marker
- sstephenson 16y agoMoving canvas operations out of event handlers is the key to smooth drawing on the iPad. The queue processor's inner loop is restricted to 10ms at a time every 30ms. This ensures a full two-thirds of the time is spent receiving touch events.
- joakin 16y agoMaybe a demo would help to the testing :) for those of us not having git (yet)
- mrduncan 16y agoEnjoy: http://mrduncan.github.com/marker/ http://mrduncan.github.com/marker/
- jackowayed 16y agoSolutions to your problem: 1. You should get git. This is the best one. 2. They support Subversion. svn checkout http://svn.github.com/mrduncan/marker http://svn.github.com/mrduncan/marker 3. They have a Mercurial plugin that makes hg able to interact with git repos. http://hg-git.github.com/ http://hg-git.github.com/
- nivertech 16y agoThere is a "Download" button on the upper right corner on github site. It will download a zip/tar.gz file with the snapshot.
- adolph 16y agoI was so excited, but ironically it does not work on iPhone (I'm still on iOS3).
- tjogin 16y agoWhat's ironic about an iPad app not working on an iPhone? They're related, they're not the same.