Skip to content

PI

The mathematical constant π, approximately 3.1416.

PI is the ratio between a circle's circumference and its diameter — so the circumference is bophara * PI. The name is left untranslated because π is mathematical notation used the world over. What does get translated is the ordinary-language part of a name, as in PEDI_PI.

PI
A circle's circumference, unrolled
tiro setaLoeto() {
  thalaKanefase(400, 400);
  bokamorago(220);

  diri bogolo = 100;

  // Sediko se se nang le bophara jwa 100
  tlogelaGoTlatsa();
  boketeMothalo(3);
  kgolokwe(200, 120, bogolo);

  // Mothalo o o lekanang le potologo ya sona: bogolo * PI
  mothaloMmala(200, 70, 70);
  thalaMothalo(45, 280, 45 + bogolo * PI, 280);
}

PEDI_PI, SEPHATLO_PI, KOTARA_PI, TAU