Built by 56tytt — שי קדוש הנדסת תוכנה אשקלון 🇮🇱
A pixel-perfect recreation of 3 CASIO scientific calculator models, written in pure Rust with egui.
| Model | Style | Features |
|---|---|---|
| fx-82MS | 🌸 Pink | S-V.P.A.M, 2nd edition |
| fx-991ES PLUS | 🔵 Blue/Grey | Natural VPAM, all functions |
| fx-CG50 | ⬛ Black | Graphing mode, color display |
- ✅ Full scientific math engine (tokenizer → recursive-descent parser → evaluator)
- ✅ Trig functions:
sin/cos/tan+ inverses + hyperbolic (sinh/cosh/tanh) - ✅ Logarithms:
log,ln,10^x,e^x - ✅ Powers & roots:
x²,x³,√,∛,xʸ,x⁻¹ - ✅ Factorial
n!, combinationsnCr, permutationsnPr - ✅ Angle modes: Degrees / Radians / Gradians
- ✅ Memory:
M+,M-,RCL,STO+ variables A–F, X, Y - ✅ Engineering notation (
ENG) - ✅ SHIFT / ALPHA modifier keys
- ✅ History (last 50 calculations)
- ✅ Switch between all 3 models in one click
git clone https://github.com/56tytt/casio-calc
cd casio-calc
cargo run --releaseRequirements:
- Rust 1.75+
- On Linux:
sudo apt install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev
src/
├── main.rs # Entry point
├── engine.rs # Math engine: tokenizer + parser + evaluator
├── models.rs # 3 CASIO model definitions + color palettes
└── ui.rs # egui rendering
- Zero GC pauses — smooth UI at all times
- Memory safe — no crashes, no undefined behavior
- Blazing fast — evaluates expressions in microseconds
- Single binary — no runtime dependencies
Built with assistance of Claude (Anthropic AI)
MIT © 56tytt