simololaPoapoeletso
Starts the
tshwantshaloop again afteremisaPoapoeletsohas halted it.
When the loop has been halted with emisaPoapoeletso, simololaPoapoeletso puts it back to work: p5.js starts calling tshwantsha about 60 times per second again. Calling it while the loop is already running changes nothing. Use boemoJwaPoapoeletso to check whether the loop is running.
Syntax
Section titled “Syntax”simololaPoapoeletso()Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 400);
emisaPoapoeletso();
simololaPoapoeletso();
}
tiro tshwantsha() {
bokamorago(220);
tlatsaMmala(200, 100, 0);
kgolokwe(pebaX, pebaY, 80);
}tiro setaLoeto() {
thalaKanefase(400, 400);
emisaPoapoeletso();
fa (boemoJwaPoapoeletso() === maaka) {
simololaPoapoeletso();
}
}
tiro tshwantsha() {
bokamorago(220);
tlatsaMmala(0, 150, 200);
kgolokwe(pebaX, pebaY, 60);
}See also
Section titled “See also”emisaPoapoeletso, boemoJwaPoapoeletso, tshwantshaGape, tshwantsha