OPEN_SOURCE ↗
HN · HACKER_NEWS// 35d agoOPENSOURCE RELEASE
CasNum turns geometry into arithmetic
CasNum is an open-source Python library that implements arbitrary-precision arithmetic using compass-and-straightedge constructions instead of normal numeric primitives. The repo also shows the idea in action with RSA demos and a modified PyBoy Game Boy emulator whose ALU operations run through geometric constructions.
// ANALYSIS
CasNum is exactly the kind of delightfully unnecessary project that still matters because it shows how much creative range open source developers have left. It is less a practical math library than a memorable proof that weird execution models can still teach, entertain, and inspire.
- –Numbers are represented as points in the plane, with addition, multiplication, division, and even logical operations derived from line and circle intersections
- –The standout demo is a modified Game Boy emulator that boots Pokémon after roughly 15 minutes, then benefits from caching to reach a barely playable speed
- –An optional viewer makes the construction process visible, giving the project real educational value beyond the joke
- –The repo reads like a software art piece, but it also doubles as a serious exercise in symbolic math, caching, and emulator hacking
// TAGS
casnumopen-sourcedevtoolsdk
DISCOVERED
35d ago
2026-03-07
PUBLISHED
35d ago
2026-03-07
RELEVANCE
5/ 10
AUTHOR
aebtebeten