SERIPA
→ PIEA value that closes an arc through the middle of the ellipse, making a slice.
SERIPAYou give it to thalaArc as the seventh number. The two ends are joined to the middle of the ellipse rather than to each other. That makes a slice — like a slice of pie or of cake.
It is what you want for a pie chart: each slice is one thalaArc with SERIPA, and their angles are added up around the circle.
It is also what makes Pac-Man’s mouth.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
bokamorago(244);
seeloSaSekhutlo(DEGREES);
mothaloMmala(255);
boketeMothalo(3);
// seripa sengwe le sengwe se simolola fa se se fetileng se khutlang teng
metlha dikarolo = [90, 70, 60, 55, 45, 40];
diri simolo = -90;
gopheta (diri i = 0; i < 6; i = i + 1) {
tlatsaMmala(70 + i * 28, 160 - i * 12, 220 - i * 22);
thalaArc(200, 200, 280, 280, simolo, simolo + dikarolo[i], SERIPA);
simolo = simolo + dikarolo[i];
}
}