Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

kurfigi_linie()

Examples
example pic
liniefarb(255, 102, 0);
kurfigi_linie(5, 26, 5, 26, 73, 24, 73, 61);
liniefarb(0); 
kurfigi_linie(5, 26, 73, 24, 73, 61, 15, 65); 
liniefarb(255, 102, 0);
kurfigi_linie(73, 24, 73, 61, 15, 65, 15, 65);
Description Draws a curved line on the Bildschirm. The first and second parameters specify the first anchor point and the last two parameters specify the second anchor. The middle parameters specify the points for defining the shape of the curve. Longer curves can be created by putting a series of kurfigi_linie() functions together. An additional function called curveTightness() provides control for the visual quality of the curve. The kurfigi_linie() 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
kurfigi_linie(x1, y1, x2, y2, x3, y3, x4, y4);
kurfigi_linie(x1, y1, z1, x2, y2, z2, x3, y3, z3, x4, y4, z4);
Parameters
x1, y1, z1 Ganzizahl or Komazahl : coordinates for the first anchor
x2, y2, z2 Ganzizahl or Komazahl : coordinates for the first point
x3, y3, z3 Ganzizahl or Komazahl : coordinates for the second point
x4, y4, z4 Ganzizahl or Komazahl : coordinates for the second anchor
Usage Web & Application
Related verbind_Eggae_mitere_kurfigelinie()
bezier_linie()
Stefan Baltensperger 2009

Creative Commons License