Sliding window majority

In each step, for each pixel, we replace it with the majority value (black or white) inside a square of size 11 × 11 pixels around it. The input is random coin flips. In the animation, the speed increases gradually from 1 step/second to 60 steps/second.

Download videos: webm · mp4

Contact: Jukka Suomela