Skip to content
ExamplesOpen editor ↗

tshwantsha

→ draw()

Runs continuously every frame to draw the sketch.

tiro tshwantsha() { ... }

Declare tshwantsha as a function with tiro. Bopa calls it about 60 times per second after setaLoeto finishes. Put your animation and drawing code here.

Draw a moving circle
tiro setaLoeto() {
  thalaKanefase(400, 400);
}
tiro tshwantsha() {
  bokamorago(220);
  thalaSediko(pebaX, pebaY, 50);
}

setaLoeto