pixel-matcher
to · By Julian · Public code
A Python tool that takes one image and a folder of others and swaps pixels whose colours fall within a rising distance threshold, so a picture dissolves into something like paint.
Multi file image differ, with the intent of producing art rather than being technically useful.
The glitch
In 2021 the tool was rewritten for the GPU, with the corruption following a soundtrack’s loudness. The first GPU version was correct, and dull:
- GPU accelerated version using cupy and CUDA complete, but results are boring :(
- Replicated glitch from original code on GPU! Results are pretty again!
This video contains fast flashing images.
Play “It’s Raining Bits!” (loads YouTube)
In November 2018 an earlier clip from the program drew about 2,400 upvotes on r/woahdude (per a Reddit archive), and a commenter rebuilt the effect as a shader. 58 commits from October 2017 to August 2021; 15 stars on GitHub, the most of any of Julian’s repositories (November 2026). A sister project, audio-matcher, does the same to sound.
Where it stands
Public code, last changed in August 2021.
- Made
- By Julian
- When
- October 2017 to August 2021
- Built with
- Python, PIL and numpy; CUDA through cupy from 2021
- State
- Public code