Skip to content

setaLoeto

Runs once when the sketch starts.

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

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

tshwantsha, thalaKanefase