37signals' Chalk: a fun little browser-based app for iPad
37signals.com
37signals.com
To really make a mobile web app be cool, it's still gotta work on the web. Otherwise, it's not cool. I'm making that a rule right now. Visiting a URL that says I have to be on an iPad is not cool. It's like saying I need to install a plugin that costs $500.
Example: http://blotjot.com/heyhn
It's more of a concept app to draw on Chipotle or Starbucks napkins than a serious endeavor. Some fellow engineers and I were joking about it at lunch one day and I promised to make a kick ass web 2.0 app that did indeed enable you to draw on napkins. Then I added some other backgrounds because it seems that whatever medium you draw on affects your thinking in subtle ways.
So yeah, it's more or less pointless. Google wouldn't even give me AdSense for it. :)
I've been working on a similar idea with canvas, node.js and socket.io - it's amazing how many people are taking these same technologies and solving similar problems.
edited to add - and I don't own an iPad.
1) Chalk is a paint app that uses touch (finger painting you might say). We've had paint apps that use mice for as long as I can remember (which is the Apple IIC). The translation between dragging your finger on a surface and clicking a mouse and moving it across the screen is very similar.
2) I wrote a little tutorial on this thread that shows how easy it would be to add mouse event support using the exact same jQuery event binding they are using for the touch events.
I actually suspect now that making the app iPad only is just to get more attention for 37Signals. There isn't a compelling technical reason for doing that other than marketing ploy.
Cynical. There's no ploy here, there's no big picture plan here re: releasing this just for the iPad. It was just easier. For a proof of concept, easy was the goal.
A couple of guys spent a few days messing around and this is what came out. We're really happy with it so we figured we'd share it with everyone else too.
We just went with the iPad because it was a lot easier to build it for a specific use case. We knew the exact dimensions, for example. We didn't have to think about how it would scale if the browser was wider or narrower. We could put everything exactly where we wanted it. It just works all the time since the iPad browser size is the same all the time.
We also didn't think it would be that fun to use with a mouse. Finger painting is more fun.
Here’s a preview for a drawing app I made this summer for the iPad and iPhone that also works fine on the desktop in Safari, Chrome, and Firefox: http://stuff.vandervossen.net/temporary/sketch.html
On the iPad it supports up to 11 touch points (don’t ask) and it has some pretty neat curve smoothing to deal with the rather low resolution of the touch events compared to a native app.
It's fun to look at this stuff, especially from the perspective of someone who hasn't gotten into HTML5 yet.
[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]
I believe they're pissed off with iOS development, as it's significantly more hassle than their usual routine of web development. I think they're lining up HTML5 as their solution to mobile. So we'll see Basecamp,Backpack,Highrise, etc move to HTML5, this way they'll have iPhone,iPad,Android supported.
I believe this based on the snippets of JS they've generously released, and I believe there is more to come.
I think this is far more likely than it being a publicity stunt.
Why is this "awesome"? I don't have an iPad, so I haven't tried it first hand, but it seems to be a simple drawing tool disguised as chalk instead of a solid line. They're a dime a dozen.
I went back and re-checked it out to ensure that I didn't miss anything. This would certainly have been more noteworthy if it was collaborative in real time amongst multiple iPads (e.g. etherpad).
1: http://www.youtube.com/user/dhhracing
2: http://www.autoblog.com/2010/09/07/pagani-zonda-hh-commissio...
Yes, 37signals is wildly more successful than most people on HN, and yes, it's sometimes hard to tell the difference between their "attempts to change the world" blog posts and their "look what I did with my 3-day-weekend" blog posts, but: it's a blog. They don't owe you anything more than blog posts. This is an above-average blog post; it came with a new app!