Skip to content
ExamplesOpen editor ↗

setaLoeto

→ setup()

Runs once when the sketch starts.

tiro setaLoeto() { ... }

Declare setaLoeto as a function with tiro. Bopa will call it exactly once at the start of your sketch — typically used to call thalaKanefase and set up initial state.

Create a canvas in setaLoeto
tiro setaLoeto() {
  thalaKanefase(400, 400);
  bokamorago(220);
}

tshwantsha, thalaKanefase