SETSWANA TRANSLATION: Bopa Reference
SETSWANA TRANSLATION: Welcome to the Bopa reference.
SETSWANA TRANSLATION: Bopa is a programming language with Setswana keywords that compiles to p5.js sketches. This reference documents every keyword in the language, with a live runnable example for each one.
SETSWANA TRANSLATION: Browse the sidebar by category, or jump straight to a few common starting points:
setaLoeto— SETSWANA TRANSLATION: runs once when your sketch startstshwantsha— SETSWANA TRANSLATION: runs every framethalaKanefase— SETSWANA TRANSLATION: creates the drawing canvaskgolokwe— SETSWANA TRANSLATION: draws a circlepeebeX— SETSWANA TRANSLATION: current mouse x position
SETSWANA TRANSLATION: Each example on this site is a real Bopa program. The Setswana code shown is what you can paste into the Bopa editor to run it yourself.