cantor filter

The Cantor set is a set of numbers created by taking the real numbers between 0 and 1 and recursively removing the middle third of the remaining sets. Done in a 2-dimensional array, the resulting geometric pattern is referred to as a Sierpinski Carpet. These video stills shows a Sierpinski Carpet created from an altered Cantor set of 0 to 765 (3 times 255, the largest value for an RGB channel). In the video feed, pixels in a block are activated if the added difference across all the color channels in that pixel between the previous and current frame matches the spectrum of numbers that are assigned to that specific block of the Sierpinski Carpet. For ease of differentiation, each block is assigned a single color (red, blue or green) which is, again, determined by which set of numbers is assigned to it.

The thumbs at the left show the full Sierpinski Carpet as well as zoomed-in portions of the grid that correspond to blocks looking for varying amounts of color change in the same image. The video below shows zooming into different parts of the set as well as full resets of the Sierpinski Carpet.