DIKHUTLOTHARO
→ TRIANGLESA shape kind that takes the vertices three at a time, as separate triangles.
DIKHUTLOTHAROUnder simololaPopego(DIKHUTLOTHARO), the vertices are taken three at a time. Each triangle is closed and filled, and they are not joined to one another.
⚠ The number of vertices must divide by 3. If it does not, the sketch stops with an unreadable error. Measured.
KHUTLOTHARO_ANAMA and KHUTLOTHARO_LEBANTA connect the triangles instead of leaving them separate.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 240);
bokamorago(210, 230, 245);
tlogelaMothalo();
simololaPopego(DIKHUTLOTHARO);
gopheta (diri i = 0; i < 5; i = i + 1) {
diri x = i * 80 + 40;
tlatsaMmala(60 + i * 24, 120, 100);
ntlhana(x - 50, 220);
ntlhana(x, 220 - (i % 3) * 40 - 70);
ntlhana(x + 50, 220);
}
feleletsaPopego();
tlhalosa('Dikhutlotharo tse tlhano tse ditalatala tsa bogolo jo bo farologaneng, di eme mo moleng jaaka dithaba.');
}See also
Section titled “See also”simololaPopego, thalaKhutlotharo, KHUTLOTHARO_ANAMA, KHUTLOTHARO_LEBANTA