Skip to content

HansTydecks/binary-decimal-visualizer

Repository files navigation

Binary-Decimal Visualizer

An interactive web application for visualizing binary numbers and their decimal representation, designed for educational use on smartboards and interactive displays.

✨ Features

  • 8 Interactive Bit Switches with visual LED display
  • Real-time Binary ↔ Decimal Conversion
  • 30 Progressive Missions to learn binary concepts step by step
  • Modular Display Options:
    • Decimal values under switches (128, 64, 32, 16, 8, 4, 2, 1)
    • Binary powers display (2⁷, 2⁶, 2⁵, ...)
    • Binary string representation
    • Grayscale visualization
  • Touch-optimized for smartboards and tablets
  • Responsive design for all screen sizes

🚀 Quick Start

Online Demo

Visit the live demo: https://becimal.tinfo.space

Local Usage

  1. Clone or download this repository
  2. Open index.html in any modern web browser
  3. No installation required!

🎓 Educational Use

Perfect for teaching:

  • Binary number system fundamentals
  • Bit manipulation and position values
  • Powers of 2 concepts
  • Binary to decimal conversion
  • Computer data representation

Mission-Based Learning

The app includes 30 progressive missions that guide students through:

  1. Understanding what bits represent
  2. Basic decimal numbers (0, 1, 2, 4, 8...)
  3. Combining bits for larger numbers
  4. Complex decimal values up to 255

🛠️ Technology

  • Pure HTML5, CSS3, JavaScript - No frameworks needed
  • Lightweight (~50KB total)
  • Offline capable after first load
  • Modern browser compatible (Chrome, Firefox, Safari, Edge)

� Usage

  1. Toggle switches to set binary values
  2. Watch real-time updates of decimal representation
  3. Follow missions for guided learning
  4. Enable modules to show additional information
  5. Use hint bulbs 💡 for explanations

🤝 Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

� License

MIT License - Free for educational use and modification.


Built for Computer Science Education 🎓

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published