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

Name

afang_fo_de_Form()

Examples
example pic
afang_fo_de_Form();
setz_Eggae(30, 20);
setz_Eggae(85, 20);
setz_Eggae(85, 75);
setz_Eggae(30, 75);
aendi_fo_de_Form();
example pic
afang_fo_de_Form(POINTS);
setz_Eggae(30, 20);
setz_Eggae(85, 20);
setz_Eggae(85, 75);
setz_Eggae(30, 75);
aendi_fo_de_Form();
example pic
afang_fo_de_Form(LINES);
setz_Eggae(30, 20);
setz_Eggae(85, 20);
setz_Eggae(85, 75);
setz_Eggae(30, 75);
aendi_fo_de_Form();
example pic
kei_Fuellfarb();
afang_fo_de_Form();
setz_Eggae(30, 20);
setz_Eggae(85, 20);
setz_Eggae(85, 75);
setz_Eggae(30, 75);
aendi_fo_de_Form();
example pic
kei_Fuellfarb();
afang_fo_de_Form();
setz_Eggae(30, 20);
setz_Eggae(85, 20);
setz_Eggae(85, 75);
setz_Eggae(30, 75);
aendi_fo_de_Form(CLOSE);
example pic
afang_fo_de_Form(TRIANGLES);
setz_Eggae(30, 75);
setz_Eggae(40, 20);
setz_Eggae(50, 75);
setz_Eggae(60, 20);
setz_Eggae(70, 75);
setz_Eggae(80, 20);
aendi_fo_de_Form();
example pic
afang_fo_de_Form(TRIANGLE_STRIP);
setz_Eggae(30, 75);
setz_Eggae(40, 20);
setz_Eggae(50, 75);
setz_Eggae(60, 20);
setz_Eggae(70, 75);
setz_Eggae(80, 20);
setz_Eggae(90, 75);
aendi_fo_de_Form();
example pic
afang_fo_de_Form(TRIANGLE_FAN);
setz_Eggae(57.5, 50);
setz_Eggae(57.5, 15); 
setz_Eggae(92, 50); 
setz_Eggae(57.5, 85); 
setz_Eggae(22, 50); 
setz_Eggae(57.5, 15); 
aendi_fo_de_Form();
example pic
afang_fo_de_Form(QUADS);
setz_Eggae(30, 20);
setz_Eggae(30, 75);
setz_Eggae(50, 75);
setz_Eggae(50, 20);
setz_Eggae(65, 20);
setz_Eggae(65, 75);
setz_Eggae(85, 75);
setz_Eggae(85, 20);
aendi_fo_de_Form();
example pic
afang_fo_de_Form(QUAD_STRIP); 
setz_Eggae(30, 20); 
setz_Eggae(30, 75); 
setz_Eggae(50, 20);
setz_Eggae(50, 75);
setz_Eggae(65, 20); 
setz_Eggae(65, 75); 
setz_Eggae(85, 20);
setz_Eggae(85, 75); 
aendi_fo_de_Form();
example pic
afang_fo_de_Form();
setz_Eggae(20, 20);
setz_Eggae(40, 20);
setz_Eggae(40, 40);
setz_Eggae(60, 40);
setz_Eggae(60, 60);
setz_Eggae(20, 60);
aendi_fo_de_Form(CLOSE);
Description Using the afang_fo_de_Form() and aendi_fo_de_Form() functions allow creating more complex forms. afang_fo_de_Form() begins recording vertices for a shape and aendi_fo_de_Form() stops recording. The value of the MODE parameter tells it which types of shapes to create from the provided vertices. With no mode specified, the shape can be any irregular polygon. The parameters available for afang_fo_de_Form() are POINTS, LINES, TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, QUADS, and QUAD_STRIP. After calling the afang_fo_de_Form() function, a series of setz_Eggae() commands must follow. To stop drawing the shape, call aendi_fo_de_Form(). The setz_Eggae() function with two parameters specifies a position in 2D and the setz_Eggae() function with three parameters specifies a position in 3D. Each shape will be outlined with the current stroke Farb and filled with the fill Farb. Transformations such as verschieb(), draei(), and skalier() do not work within afang_fo_de_Form(). It is also not possible to use other shapes, such as Chreis() or Viereck() within afang_fo_de_Form().
Syntax
afang_fo_de_Form(MODE)
Parameters
MODE Either POINTS, LINES, TRIANGLES, TRIANGLE_FAN, TRIANGLE_STRIP, QUADS, QUAD_STRIP
Usage Web & Application
Related aendi_fo_de_Form()
setz_Eggae()
verbind_Eggae_mitere_kurfigelinie()
verbind_Eggae_mitere_Bezierlinie()
Stefan Baltensperger 2009

Creative Commons License