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

Name

ZWEI_PI (6.28318...)

Examples
example pic
Komazahl  f = 0.0;
afang_fo_de_Form(POLYGON);
waehrend(f CHLINERALS ZWEI_PI) bittee
  setz_Eggae(Feischterbreiti/2 + cos(f)*40, Feischterhoechi/2 + sin(f)*40);
  f += PI/12.0;
danke
aendi_fo_de_Form();
Description ZWEI_PI is a mathematical constant with the value 6.28318530717958647693. It is twice the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions sin() and cos().
Syntax
ZWEI_PI
Parameters
Usage Web & Application
Related PI
HALB_PI
Stefan Baltensperger 2009

Creative Commons License