Working Notes: a commonplace notebook for recording & exploring ideas.
Home. Site Map. Subscribe. More at expLog.
Last one for 2023!
A short burst of hacking over Christmas Eve let me release a preview of orphism on PyPI and GitHub.
While I'd been calling this project Fauvism I realized it was already taken on PyPI. Orphism was a quick search and replace away -- thematically it seems to fit even better, as a derivation of cubism.
Implementation has been fun: I decoupled the code into "bucketing" and
"rendering" which helped smooth it out a lot, but there are still a
lot of edge cases and off-by-ones to reason about that I'm not
particularly happy out. And while I can render sin(x)
and cos(x)
pretty well, tan(x)
looks ridiculous.
The data ink ratio is also remarkable for the amount of data that just fits into a single line.
I'm hoping to use this for rendering model weights live, so I'll add
support for NaN
, Inf
, numpy
and torch
Tensors. Then I'll
figure out how to make it fast.
Unfortunately this has been fascinating enough to draw me away from Advent of Code, but I suspect I'll find my way back there soon enough anyways.
— Kunal