Truchet tiling as image filter

[GA2021 H Verrill page 15/15]

The number of iterations of the process depends on the darkness of an area in the image. It's best to use simple images with strong contrast, e.g., just black and white. You can upload your own image below.
Use the mouse to move the control dots round the screen, which can also be controlled by the sliders. or else use the following buttons for different effects.

Reset state of center of tile (this may not produce a noticable effect if there are many iterations)
Change base image:

Example output