Colt/Code

Programming | Music | Art

Pixel Sorting Experiments Part 3

After my initial American Flag experiments, I decided to take on another iconic image: Van Gogh’s Starry Night. Here’s the image I started with:

I ended up sorting the pixels a bunch of different ways, but here are some of my favorites:

Sorted By Brightness

Pixel Sorting Experiments Part 2

After my initial American Flag experiments, I decided to take on another iconic image: Van Gogh’s Starry Night. Here’s the image I started with:

I ended up sorting the pixels a bunch of different ways, but here are some of my favorites:

Sorted By Brightness

Pixel Sorting Experiments Part 1

As I was stumbling home the morning after 4th of July, I had a patriotic/drunken thought: What if I could visualize the proportion of red, white, and blue in the American flag? Sounds super exciting, right? Here’s the image I started with:

I started by writing code to sort all the pixels by Red: