Skip to content
ExamplesOpen editor ↗

DITLHAKORENNE

→ QUADS

A shape kind that takes the vertices four at a time, as separate quadrilaterals.

DITLHAKORENNE

Under simololaPopego(DITLHAKORENNE), the vertices are taken four at a time. Each quadrilateral is closed and filled, and they are not joined to one another.

⚠ The number of vertices must divide by 4. If it does not, the sketch stops with an unreadable error. Measured: 4 and 8 work; 1, 2, 3, 5, 6 and 7 all fail.

DITLHAKORENNE is the plural of tlhakorenne, the word Bopa uses in thalaTlhakorenne.

Leaning quadrilaterals
tiro setaLoeto() {
  thalaKanefase(400, 240);
  bokamorago(28, 32, 48);
  tlogelaMothalo();

  simololaPopego(DITLHAKORENNE);
  gopheta (diri i = 0; i < 4; i = i + 1) {
    diri x = i * 96 + 30;
    tlatsaMmala(240 - i * 40, 160, 90 + i * 40);
    ntlhana(x, 190);
    ntlhana(x + 60, 190);
    ntlhana(x + 76, 60);
    ntlhana(x + 16, 60);
  }
  feleletsaPopego();

  tlhalosa('Ditlhakorenne tse nne tse di sekameng tsa mmala o o farologaneng, di eme mo moleng mo bokamoragong jo bo lefifi.');
}

simololaPopego, thalaTlhakorenne, TLHAKORENNE_LEBANTA, DIKHUTLOTHARO