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

Name

bezier_linie()

Examples
example pic
kei_Fuellfarb();
liniefarb(255, 102, 0);
Linie(85, 20, 10, 10);
Linie(90, 90, 15, 80);
liniefarb(0, 0, 0);
bezier_linie(85, 20, 10, 10, 90, 90, 15, 80);
example pic
kei_Fuellfarb();
liniefarb(255, 102, 0);
Linie(30, 20, 80, 5);
Linie(80, 75, 30, 75);
liniefarb(0, 0, 0);
bezier_linie(30, 20,  80, 5,  80, 75,  30, 75);
Description Draws a Bezier curve on the Bildschirm. These curves are defined by a series of anchor and control points. The first two parameters specify the first anchor point and the last two parameters specify the other anchor point. The middle parameters specify the control points which define the shape of the curve. Bezier curves were developed by French engineer Pierre Bezier. Using the 3D version of requires rendering with P3D or OPENGL (see the Environment reference for more information).
Syntax
bezier_linie(x1, y1, cx1, cy1, cx2, cy2, x2, y2);
bezier_linie(x1, y1, z1, cx1, cy1, cz1, cx2, cy2, cz2, x2, y2, z2);
Parameters
x1, y1, z1 Ganzizahl or Komazahl : coordinates for the first anchor point
cx1, cy1, cz1 Ganzizahl or Komazahl : coordinates for the first control point
cx2, cy2, cz2 Ganzizahl or Komazahl : coordinates for the second control point
x2, y2, z2 Ganzizahl or Komazahl : coordinates for the second anchor point
Usage Web & Application
Related verbind_Eggae_mitere_Bezierlinie()
kurfigi_linie()
Stefan Baltensperger 2009

Creative Commons License