Skip to content
ExamplesOpen editor ↗

BOPUTSWA

→ GRAY

A `tlhotlha` value: take the colour out, leaving greys.

tlhotlha(BOPUTSWA)

Every dot becomes a grey of the same brightness. Measured: a red dot [255, 0, 0] becomes [54, 54, 54] — not [85, 85, 85], because it follows how the eye sees, and green looks brighter than red.

boputswa is a colour noun like bohibidu (red) and botala.

The cow with its colour taken out
tiro setaLoeto() {
  thalaKanefase(300, 160);
  bokamorago(245);

  diri kgomo = letela tlisaSetshwantsho('kgomo.png');
  thalaSetshwantsho(kgomo, 70, 5, 150, 150);
  tlhotlha(BOPUTSWA, maaka);

  tlhalosa('Setshwantsho sa kgomo se se senang mmala, se le mo boputsweng fela.');
}

tlhotlha, RIBEGA, bohibidu