DigiNews

Tech Watch Articles

← Back to articles

CasNum: Compass-and-Straightedge Arithmetic in Python with Game Boy Emulation

Quality: 8/10 Relevance: 8/10

Summary

CasNum is a Python library that implements arbitrary-precision arithmetic using compass-and-straightedge constructions. It represents numbers as points in the plane and performs arithmetic through geometric constructions, with a Game Boy emulator integration to demonstrate an ALU-like workflow powered by geometry. The project includes RSA and basic arithmetic examples, usage instructions, dependencies, and performance considerations.

🚀 Service construit par Johan Denoyer