user2056564
user2056564

Reputation: 183

How can I create a variable-width stroke in AS3?

Is there any way to create a variable-width stroke on a drawn path? I need to imitate a pen pressure effect (without using a tablet). Can I do this by changing some properties of a stoke? Thanks in advance

Upvotes: 2

Views: 222

Answers (1)

M4tchB0X3r
M4tchB0X3r

Reputation: 1531

usually dont like just posting links! But this is what you need
A Smooth and Responsive Drawing Application in AS3
It determines the thickness by the mouse speed, you can obviously change that to fit your needs

Upvotes: 2

Related Questions