-
2 Attachment(s)
Tablet Draw Example
This example shows how the Tablet object and the Line Surface object can work together to make a pressure-sensitive drawing table. It's a bit glitchy, but overall, it works.
If anyone has any comments on how to make it better (e.g. anti-aliasing, different drawing system) please share!
-
Re: Tablet Draw Example
Haha, very nice! :) Maybe you should add max(1,pressure) to make it draw with at least 1px diameter when pressing.
-
Re: Tablet Draw Example
hmmm
good idea.
I have another question: How can I make it so that the info actually erases, instead of just another white line overlapping the black? I'm asking this because I want to have some kind of background image (like notebook paper).
-
Re: Tablet Draw Example
delete created backdrop at (x,y)
-
Re: Tablet Draw Example
Umm, it doesn't create a backdrop object. This uses the Line Surface Object....
-
Re: Tablet Draw Example
With the overlay you can draw a transparent (0,0,0) line over an existing line to erase it. Is this possible with the line surface object?
-
Re: Tablet Draw Example
Hmmm I don't think so. I think Jamie should add an erase function to the Line Surface object. That would be quite awesome.