Apr 6, 2022
I just did a fun bit of retrocomputing archeology.

I wanted to give the kids a Paint program, so I did a quick Google in my current favorite framework and found https://love2d.org/forums/viewtopic.php?t=87469. Ran great and was loads of fun, but looked a bit.. off. Some of the colors were missing, and clicking on the black rectangles sometimes abruptly changed the color. Turns out:

“In versions prior to 11.0, color component values were within the range of 0 to 255 instead of 0 to 1.”

https://love2d.org/wiki/love.graphics.setColor

Before: Paint app when I first ran it.

After: Paint app after I fixed it.

This post is part of my Freewheeling Apps Devlog.

Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.

archive
projects
writings
videos
subscribe
Mastodon
RSS (?)
twtxt (?)
Station (?)