15th December 2023 at 09:17

Day 5 ofLoveByte Tiny Code Christmas 2023 in OCaml (it seems prompt given the challenge goes up at 9am, but I cheated and started last night based on last year’s TCC, as I knew I’d have a busy day today :)

The challenge today was debugging the differences between float operator behaviours on Lua from last year and OCaml from this year, and realising that the visual trick also relies on having a palette size that is a power of two, otherwise palette wrap arounds don’t quite work.

I’d like to have played more with this, but as I say, busy day!