Refactor 2022 #36

565.jpg

Little squares.

Computer generated pictures could be pixel-first or object-first. Yes, I made up those terms. Fractals are pixel-first. Pick a pixel, run the fractal calculation for the pixel to get a color, color the pixel, then move on to the next pixel.

This image consists of many small squares, and is drawn object-first. Pick a square, compute which pixels are on the square, color those pixels with the color of the selected square, and then move on to the next square.

Refactor 2022 #29

558.jpg

I started down this Port/Refactor path figuring I would just focus on programming for a few weeks. That has turned into half a year, with no end in sight. (And now less time to work on it.)

With a little effort I could turn each of these diversion into different series. But when I start thinking about it, I immediately notice all of the programming things that are not yet done. Or worse, the program features that are broke or disabled while working on other fixes. The program runs just well enough to test new features.

So, please indulge me as I post these “experiments”, and drop them into the “Refactor” bucket.