LESEDI
→ LIGHTESTA mode that keeps whichever colour is lighter, channel by channel.
LESEDILESEDI compares each channel of the two colours and keeps the higher one. Like LEFIFI, it adds nothing — it only chooses.
Measured: (100, 150, 200) over (200, 100, 50) gives (200, 150, 200) — in each channel, the larger number wins.
The difference between LESEDI and TLHAKANYA is this: TLHAKANYA adds the two numbers and can reach white; LESEDI never goes past the larger of the two.
Examples
Section titled “Examples”tiro setaLoeto() {
thalaKanefase(400, 200);
bokamorago(20);
tlogelaMothalo();
tlatsaMmala(200, 100, 50);
thalaKhutlonne(60, 40, 180, 120);
seeloSaMotswako(LESEDI);
tlatsaMmala(100, 150, 200);
thalaKhutlonne(160, 40, 180, 120);
seeloSaMotswako(MOTSWAKO);
tlhalosa('Dikhutlonne tse pedi tse di kopanang mo bokamoragong jo bontsho; karolo e di kopanang mo go yona e bonesegile go feta bobedi jwa tsona.');
}