0-Pixel Sorter
- 4 Devlogs
- 10 Total hours
Sorts the brightness, red, green, or blue in the pixels of an image to produce cool effects.
Sorts the brightness, red, green, or blue in the pixels of an image to produce cool effects.
Devlog #3
I took a little break but It sorts! currently, you can sort all four directions and it only sorts the pixels in the range set earlier. Currently I just implemented a bubble sort for sorting, Its sort of slow but it works.
TODO: Add a way to export images (currently just screenshotting) and maybe use raygui to make a better ui.
Devlog #3
Got contrast filtering working for brightness, red, green, and blue. Currently the UI is very cude (and will probably stay that way for a bit). The lighter pixels are within the range set and the darker pixels are outside of that range. I just have hard coded values (50-200 out of 0-255) because that was easier and I didn’t want to spend more time today working (its like 1:40am ;-;).
TODO: Add a way to change the range of values that it will sort through and start sorting!
Devlog #2
Started work on a “welcome” screen for importing and exporting images. I got cross platform image importing working using TinyFileDialogs! Currently raylib has trouble loading some images and I wasn’t able to get a filter working for the file explorer. I also added a “Learn more” button that just takes you to the projects github page.
TODO: start work on contrast filtering and editing pixel data using raylib.
Long Term: I started thinking about selecting how pixels are sorted. It needs to be simple while still giving you a ton of control over the sorting process.
Devlog #1
Started work on creating a “pixel sorter”. Basically sorts the pixels of an image using the brightness, red, green, or blue of said pixels. Just got a basic UI that scales based on the resolution of the window and different tabs for a welcome screen, image manipulations, and random settings.
TODO: get image importing working and contrast filtering, then start working on sorting algorithms.
Long term: Get image exporting working and allow for more customization of sorts. I also want to get sorting videos working, probably using something like ffmpeg to split up the video into multiple images