Scientific Calculator — Math & Physics Lab
Role: Solo Developer. Educational web calculator with advanced mathematical tools, physics formulas, and multi-language support.
- Scientific Calculator: Trigonometry (sin, cos, tan, cot), logarithms (log, ln), powers, square root, constants (π, e).
- Function Graphs: 2000-point precision plotting, multiple functions, custom coordinate axes, discontinuity handling.
- Matrix Operations: Visual input (2×2 to 5×5), addition, multiplication, determinant calculation.
- Calculus Tools: Numerical derivatives, definite integrals (Simpson's method), summation (Σ).
- Physics Lab: Kinematics, dynamics (F=ma), energy calculations, Ohm's law, 40+ formulas.
- UI/UX: 4 themes, bilingual (UA/EN), responsive design, localStorage persistence.
- Graph Precision: Guaranteed x=0 inclusion for accurate trig functions (sin/cos pass through origin).
- Discontinuity Handling: Custom filtering for tan/cot at asymptotes (threshold 1000).
- Custom Chart.js Plugin: Crisp X=0/Y=0 axes with 2px white lines, proper grid alignment.
- Matrix Visualization: CSS parentheses, dynamic grid, real-time calc with Math.js.
- Code: 1,371 lines JS, 1,400+ lines CSS, 719 lines HTML
- Scope: 5 main sections, 9 specialized tools
- i18n: 200+ translation keys (Ukrainian/English)
- Performance: 2000 graph points, sub-second rendering
- Deployed: GitHub Pages with custom domain support