SETSWANA TRANSLATION: Skip to content

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 starts
  • tshwantsha — SETSWANA TRANSLATION: runs every frame
  • thalaKanefase — SETSWANA TRANSLATION: creates the drawing canvas
  • kgolokwe — SETSWANA TRANSLATION: draws a circle
  • peebeX — 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.