Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

curveVertex()

   
Examples  
beginShape(LINE_STRIP); 
curveVertex(84,  91); 
curveVertex(84,  91); 
curveVertex(68,  19); 
curveVertex(21,  17); 
curveVertex(32, 100); 
curveVertex(32, 100); 
endShape(); 
Description   Specifies vertex coordinates for curves. This function may only be called between beginShape() and endShape(). The curveVertex() function is an implementation of Catmull-Rom splines.
   
Syntax  
curveVertex(x, y) 
curveVertex(x, y, z)
   
Parameters  
x   The x-coordinate of the vertex, either a float or int

y   The y-coordinate of the vertex, either a float or int

z   The z-coordinate of the vertex, either a float or int

   
Returns   None
   
Usage   Application & Web
   
Related   beginShape()
endShape()
vertex()
bezierVertex()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas