Justin Pinkney

Colour Sorter 🌈

Last touched June 08, 2020

ColourSorterLogo Takes a picture and rearranges the pixels to make another.

A little generative art Java application I made a long time ago which implements an algorithm to take all the pixels from an image and use them to make a new image, based on a (sort of) sorting algorithm.

This was all inspired by JΓ³zsef Fejes’s all RGB sorting work. I implemented his basic concept for pixel colour sorting, but using an image as the source of pixels and added lots of options for sort order, distance metrics, and starting patterns. The combination of options as well as the sheer variety of possible starting material (i.e. any image or photograph) produces a huge variety of results which is very fun to curate.

You can find the source code on GitHub.

Examples

0

1

2

3

4

5

6

8

9

10

11


πŸ’¬ If you want to comment say hello on Twitter.
Β© 2020, Justin Pinkney