01. October 2025

Hue shifting when you have to work in RGB

I work on the web and usually have access to CSS color, which lets you specify colors in the HSL (hue, saturation, lightness) space. That makes it easy to shift a color to make it redder by nudging the H value toward 0 or to send it closer to purple by moving it toward 360.

Recently, I needed to shift hue in GLSL, and which doesn’t have HSL. You only get the RGB (red, green, blue) color space. Fortunately, on a previous blog, I had written a post about hue shifting in RGB. I relearned how to do it from that.

So, I’m reproducing the original 2010 post here with added commentary. If you don’t want to read about how this works and just want to mess with a spectrum, here is my new tool for doing that.

more

16. September 2025

An open letter about AI grading children's essays

I learned via this report that the essays in the MCAS are being graded with AI, and that it has graded at least 1,400 essays incorrectly. And that is only the grading that was obviously wrong and discoverable. There are likely more undiscovered critical mistakes.

It is unsettling that my kid’s essays and other kids’ essay are being evaluated by models that have no real understanding of writing. They use statistical methods to find correlations between sequences of symbols and past scores, without understanding anything. This punishes individuality in addition to just plain not working.

more

15. July 2025

August in brief

It’s a new month, so it’s time for me to once again be shocked that it’s a new month!

more