P2D
→ P2DThe two-dimensional renderer — the one `thalaKanefase` and `bopaBoalo` use by default.
P2DP2D is the value you pass to thalaKanefase or bopaBoalo as a third argument, to say the canvas should be drawn in two-dimensional mode: thalaKanefase(400, 400, P2D). It is the default, so you never have to write it — it exists so you can say what you mean.
The name stays English, and there is a reason. P2D is not a word — it is a token, like PI or RGB. Bopa’s rule is that a piece of notation on the page stays as it is, while a word a child could say gets translated. Translating it would hand the learner a word nobody writes.
Examples
Section titled “Examples”tiro setaLoeto() {
// Se se tshwana le `thalaKanefase(400, 200)` — P2D ke ya tlwaelo.
thalaKanefase(400, 200, P2D);
bokamorago(230);
tlogelaMothalo();
tlatsaMmala(60, 110, 200);
thalaSediko(200, 100, 120);
tlhalosa('Sediko se se botala jwa loapi fa gare ga kanefase e e bobebe.');
}