FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Language \ Environment \ Libraries \ Comparison
 
   
   
Abridged (A-Z) \ Complete (A-Z)  
   
  Reference for Processing (BETA) version 91+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.  
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() and can only be used with the drawing types POLYGON, LINE_LOOP, and LINE_STRIP. The curveVertex() function is an implementation of Catmull-Rom splines. Using the 3D version of requires rendering with P3D or OPENGL (see the Environment reference for more information).
   
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   curve()
beginShape()
endShape()
vertex()
bezierVertex()
 
 






   
 
Updated: Fri Jul 15 16:35:36 PDT 2005
 
 








Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info