Closed stuyam closed 8 years ago
Someone made the suggestion with this to add another closure that would be called on mouse or touch move. Maybe a "move" function. I guess I can see this being useful for the canvas, if you had something along the lines of:
Pressure.set('canvas', {
move: function(force, event){
// this would return the current force value whenever the mouse or touch move
}
});
Im pretty sure there is no way to connect pressure up to an "object" on the canvas, like a circle for example, I don't think I would have a way of getting just a force value on that circle.
This will not be added in v0.0.4 but possibly in a future release
As mentioned above you can attach Pressure to the canvas to handle force values. I'm gonna close this issue for now unless someone has some other needs on the canvas.
Should / could support be added to use pressure with the canvas and canvas objects?