Wacom Javascript API

April 1st 2010

Ever tried to make an online drawing application and got frustrated because you couldn't access the Wacom tablet pressure? I know the feeling :)

Although I'm a bit surprised of how little publicity this thing had (none?) seems like Wacom has had this ready for quite a while (Windows/MacOS only) and with the latest drivers it should all work smoothly.

If you have a Wacom tablet, take a look at these demos. To learn how to integrate it into your application, here it's the info but I found easier just to take a look at the sources of this demo. If you're a Flash/Flex developer, external interface is your friend, at least until Adobe implements it within the player.

Of course, I've implemented it already in Harmony ;)

7 comments written so far...

Excellent!

I was just wondering how to add Wacom support to the app last weekend. :)

I glanced at the API and tried out the demos. Pretty much the only thing missing is the pen ID. It would be handy to be able to bind a brush to a specific pen. That's something I can live without, though. The support for tilt totally makes up for that. :)
April 2nd 2010
Juho Vepsäläinen
Installed it, did not work.

Any success?
April 2nd 2010
zproxy
@Juho: Didn't knew about pen id, interesting. And yeah, need to play with the tilt too, but I doubt my old graphire tablets support that, will need to get a new one soon.

@zproxy: Weird, it did work here...
April 2nd 2010
mr.doob
@mr.doob: If you end up getting a new tablet, consider buying one of those 6D art pens too. In addition to regular params (ie. location, tilt, pressure) they provide rotation (as in pen "roll") information. I still haven't got one but I assume even that as its uses. :)

@zproxy: Only win/mac are supported for now. It might be possible that you are missing the plugin. You can find it at http://www.wacom.com/productsupport/plugin.php .
April 3rd 2010
Juho Vepsäläinen
I just wanted to say that the Harmony sketch page is awesome! Really great work you did there.
Thanks for sharing!
May 30th 2010
karen
Thank you! :)
May 31st 2010
mr.doob
what about multitouch in ff4?
August 20th 2010
j

Have your say!

Name:

Website:

Comment:

Some of the projects that I worked on.



Some of the HTML5 and Actionscript experiments I've done.