We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › bezier postscript - continous lines
Page Index Toggle Pages: 1
bezier postscript - continous lines (Read 1554 times)
bezier postscript - continous lines
Aug 21st, 2005, 10:45am
 
I'm trying to draw continuous lines to export to illustrator via postscript.

How do I vectorize mouse movement to generate bezier-type paths and eliminate line segments.

I'm not upto speed on curves, but guess curveto(); is the function I need, but what are the required parameters.

Many thanks.

Re: bezier postscript - continous lines
Reply #1 - Aug 21st, 2005, 11:06am
 
http://www.cs.indiana.edu/docproject/programming/postscript/operators.html
A page with an overview over most of the postscript commands, and description..

In flowerpower i use moveto oldx oldy, lineto x y..
but it wouldn't allways be smooth if it's controlled by the mouse position, and mouse speed..

-seltar
Re: bezier postscript - continous lines
Reply #2 - Aug 21st, 2005, 3:03pm
 
that's my problem, the moveto and linto functions generate line segments. I'm hoping someone knows a better way of recording mouse information for postscript, or just how to vectorize curving lines in processing.
Page Index Toggle Pages: 1