A professional multi-mode calculator with immersive themed interfaces, advanced mathematical functions, and stunning visual effects. Built with modern web technologies for an exceptional user experience.
Open index.html in your browser or try it online
- Standard arithmetic operations (+, -, ร, รท, %)
- Memory functions (MC, MR, M+, M-)
- Full decimal support
- Real-time calculations
- Trigonometric functions (sin, cos, tan)
- Logarithmic functions (log, ln)
- Power operations (xยฒ, xยณ, eหฃ)
- Mathematical constants (ฯ, e)
- Advanced functions (factorial, absolute value, rounding)
- Square root and exponential calculations
- Number base conversions (HEX, DEC, OCT, BIN)
- Bitwise operations (AND, OR, XOR, NOT)
- Bit shifting (<<, >>)
- Hexadecimal input support (A-F)
-
Cyberpunk 2077
- Font: Orbitron (futuristic geometric)
- Neon blue and pink color scheme
- Glassmorphism effects with blur
- Glowing text and buttons
- Gradient backgrounds with light trails
-
Steampunk Victorian
- Font: Cinzel (elegant serif)
- Brass and copper color palette
- Metallic textures and ornate borders
- Victorian-era typography
- Mechanical button aesthetics
-
Post-Apocalyptic
- Fonts: Special Elite + VT323 (typewriter + terminal)
- Terminal-style green text
- CRT screen flicker effect
- Distressed interface design
- Scan lines animation
-
Retro-Futuristic
- Font: Press Start 2P (8-bit pixel)
- 80's arcade aesthetics
- Pixelated rendering
- Classic green-on-black display
- Retro computer interface
-
Fantasy Realm
- Fonts: UnifrakturMaguntia + Cinzel (gothic medieval)
- Mystical purple and gold theme
- Magical glow effects
- Ethereal gradients
- Animated magic aura
-
Matrix Code
- Font: VT323 (monospace terminal)
- Matrix green color scheme
- Binary code rain animation
- Terminal scan lines
- Glowing green text effects
-
Neon Nights
- Fonts: Bungee + Audiowide (bold display)
- Vibrant neon colors
- Pulsating light effects
- Neon glow animations
- Electric color transitions
- ๐ Dark/Light Mode: Independent toggle from themes
- ๐ Sound Effects: Synthesized audio feedback for all interactions
- ๐ Calculation History: Complete history with timestamps
- ๐พ Local Storage: Saves preferences, themes, and history
- โจ๏ธ Full Keyboard Support: Complete keyboard navigation
- ๐ฑ Responsive Design: Works on all devices
- ๐ฌ Loading Screen: Professional animated intro
- โจ Smooth Animations: Fluid transitions and effects
| Key | Function |
|---|---|
0-9 |
Input numbers |
. |
Decimal point |
+ - * / |
Basic operations |
% |
Percentage/Modulo |
Enter or = |
Calculate result |
Escape |
Clear all (AC) |
Backspace |
Delete last digit |
H |
Toggle history panel |
- HTML5: Semantic markup
- CSS3: Modern styling with custom properties
- JavaScript ES6+: Object-oriented architecture
- CSS Grid for responsive layouts
- CSS Variables for theme management
- Backdrop filters for glass effects
- CSS Animations and transitions
- Web Audio API for sound synthesis
- Orbitron (Cyberpunk)
- Cinzel (Steampunk/Fantasy)
- Special Elite (Post-Apocalyptic)
- VT323 (Terminal/Matrix)
- Press Start 2P (Retro Gaming)
- UnifrakturMaguntia (Medieval)
- Bungee & Audiowide (Neon)
- JetBrains Mono (Default)
git clone https://github.com/FredBourouliou/cyber-calculator.git
cd cyber-calculator
# Open index.html in your browserNo build process required! This is a vanilla JavaScript application.
# Optional: Run a local server
python3 -m http.server 8000
# Or with Node.js
npx serve
Cyber Calculator PRO with Cyberpunk 2077 theme featuring glassmorphism design, neon colors, and advanced calculator modes
- Select a Theme: Choose from the dropdown menu
- Choose Calculator Mode: Basic, Scientific, or Programmer
- Toggle Features: Dark mode, sounds, history panel
- Perform Calculations: Use mouse or keyboard
- View History: Click the history button to see past calculations
- Reuse Results: Click on history items to use their results
cyber-calculator/
โโโ index.html # Main HTML structure
โโโ style.css # All styles and themes
โโโ script.js # Calculator logic (OOP)
โโโ README.md # Documentation
โโโ LICENSE # MIT License
AdvancedCalculator: Main calculator class with all logic- Memory management system
- History tracking with timestamps
- Preference storage system
- Audio synthesis engine
| Browser | Version | Status |
|---|---|---|
| Chrome | 90+ | โ Full Support |
| Firefox | 88+ | โ Full Support |
| Safari | 14+ | โ Full Support |
| Edge | 90+ | โ Full Support |
| Opera | 76+ | โ Full Support |
- Fallbacks for older browsers
- Graceful degradation for unsupported features
- Works without JavaScript (basic HTML form)
- Optimized animations: GPU-accelerated transforms
- Efficient DOM updates: Minimal reflows
- Lazy loading: Features load on demand
- Local storage caching: Fast preference loading
- Debounced inputs: Smooth user experience
- No external dependencies
- No data collection
- All data stored locally
- XSS protection built-in
- Content Security Policy ready
- Graph plotting capabilities
- Unit conversions
- Financial calculations
- Matrix operations
- Export/Import calculations
- PWA support
- Voice commands
- Custom theme creator
- Calculation sharing
- Multi-language support
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Frederic Bourouliou
- GitHub: @FredBourouliou
- Project Link: https://github.com/FredBourouliou/cyber-calculator
- Font designers for the amazing typefaces
- The open-source community
- Modern web standards contributors
- All beta testers and contributors
- Complete UI/UX overhaul
- Three calculator modes
- Seven immersive themes
- Sound synthesis system
- History panel with timestamps
- Local storage for preferences
- Advanced mathematical functions
- Programmer mode with base conversions
- Enhanced error handling
- Production-ready code
- Basic calculator functions
- Five initial themes
- Keyboard support
- Basic animations
๐ฎ Cyber Calculator PRO - Where Mathematics Meets Art ๐จ
Made with โค๏ธ and lots of โ by Frederic Bourouliou