Sunday, August 20

Creating a Brush Stroke

This looks really simple but it's actually a bit tricky.

The stroke is created by drawing two curves with an offset depending on the weight of the line.

The direction of the offset is important to achieve a nice stroke and in this prototype I align the offset to touch through the red point between the two end points. This red point divides the line between the endpoints relative to the length of the triangles two other sides.

Finally the paper effect is created with a simple displacement map.

The boring part about vector graphics is all the draging of endpoints and what not. I hope to create a better way to do it that involves nudging of the endpoints so that the drawing process becomes more like sketching. You'll understand what I mean when you see it later.

No comments: