Back to sketches

This is a discontinuous shear map: xn = mod(x + a * sin(b * PI * y), 1), yn = mod(y + c * sin(d * PI * x), 1)

You can find this sketch on the p5.js website as well to play around with it.

Double click (tap) to reset the attaractor with new parameters a, b, c, d. Fullscreen.