#31 Change pen size/direction during draw

closed
nobody
None
5
2009-10-02
2009-09-09
Anonymous
No

There should be a way to simulate pen spin and pressure change while drawing. Something like

draw(origin..(100, 200}{pen*scale(2)}..(300, 0){pen*scale(1)});

The pen scale factor changes from point2 to point2 gradually according to the arclength.

Not sure change pen object during drawing useful or not. But change pen size and directions are
definitely useful.

Discussion

  • John Bowman
    John Bowman
    2009-10-02

    PostScript doesn't support nonuniform stroking; you'll have to construct the path yourself and fill it manually.

     
  • John Bowman
    John Bowman
    2009-10-02

    • status: open --> closed