Bopa

Ithute go kwala khoutu ka Setswana.

Puo ya lenaneo ya Setswana le setseleganyi sa go bopa ka khoutu. Kwala khoutu ka mafoko a gago — e tsamaya ka p5.js mo sebatling.

tiro setaLoeto() {
  thalaKanefase(400, 400);
}

tiro tshwantsha() {
  bokamorago(220);
  tlatsaMmala(255, 0, 0);
  thalaSediko(bophara / 2, boleele / 2, 100, 100);
}

Se se fa godimo se fetolelwa go ya kwa p5.js e e tlwaelegileng (createCanvas, background, fill, ellipse, width, height) mme se thala sediko se sekhibidu fa gare ga kanefase ya 400×400.