Bopa Reference
Welcome to the Bopa reference.
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.
Browse the sidebar by category, or jump straight to a few common starting points:
setaLoeto— runs once when your sketch startstshwantsha— runs every framethalaKanefase— creates the drawing canvaskgolokwe— draws a circlepeebeX— current mouse x position
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.