Skip to content
ExamplesOpen editor ↗

DINTLHA

→ POINTS

A shape kind that draws each vertex as a dot of its own.

DINTLHA

Under simololaPopego(DINTLHA), each vertex you add is drawn as a single dot. They are not joined by a line.

The size of the dots comes from boketeMothalo, the colour from mothaloMmala. Without a weight set, the dots are too small to see. Measured: with boketeMothalo(8), the pixel at the vertex is the stroke colour and the pixel away from it is background.

DINTLHA is the plural of ntlha — the word Bopa uses in thalaNtlha.

A grid of dots
tiro setaLoeto() {
  thalaKanefase(400, 240);
  bokamorago(20, 24, 40);
  mothaloMmala(120, 220, 200);
  boketeMothalo(7);

  simololaPopego(DINTLHA);
  gopheta (diri y = 30; y < 240; y = y + 30) {
    gopheta (diri x = 30; x < 400; x = x + 30) {
      ntlhana(x, y);
    }
  }
  feleletsaPopego();

  tlhalosa('Marangrang a dintlha tse dinnye tse ditalatala mo bokamoragong jo bo lefifi.');
}

simololaPopego, ntlhana, thalaNtlha, boketeMothalo