Skip to content
ExamplesOpen editor ↗

sekamisaY

→ shearY()

Slants the drawing vertically, so shapes appear skewed.

sekamisaY(sekhutlo)

The same as sekamisaX, but done vertically: points are moved up or down according to how far across they are, and their sideways position is left alone.

The angle follows seeloSaSekhutlo. As with sekamisaX, an angle near 90° stretches the shape off the canvas.

NameTypeDescription
sekhutlopaloHow far to slant, in the unit seeloSaSekhutlo has set.
Squares sheared both ways
tiro setaLoeto() {
  thalaKanefase(400, 400);
  bokamorago(30, 32, 46);
  seeloSaSekhutlo(DEGREES);
  tlogelaGoTlatsa();
  boketeMothalo(2);

  gopheta (diri i = 0; i < 7; i = i + 1) {
    baya();
    sutisa(200, 200);
    sekamisaY(i * 7);
    sekamisaX(i * 3);
    mothaloMmala(90 + i * 22, 200 - i * 12, 240);
    thalaSekwere(-70, -70, 140);
    tsaya();
  }
}

sekamisaX, dikolosa, seeloSaSekhutlo