Skip to content

feat: Number Base & Bitwise Visualizer — binary, hex, octal, decimal, and 64-bit toggle matrix #96

Description

@ajithakdev

Summary

Add an interactive Number Base & Bitwise visualizer for developers, systems programmers, and students working with low-level data, flag masks, and binary protocols.

Motivation

Developers working with bitmasks, binary data structures, file headers, or permissions frequently convert between hexadecimal, binary, octal, and decimal representations. Most online calculators are clunky, ad-filled, or lack interactive bit toggling.

Features

  • Simultaneous Base Conversion: Typing in any field (Binary, Hexadecimal, Octal, Decimal) instantly syncs all other bases.
  • Interactive 64-Bit Toggle Matrix: A visual grid of 64 bits (grouped in bytes / nibbles) where clicking any bit flips it and immediately recalculates the value.
  • Bitwise Operations Calculator:
    • Operations: AND (&), OR (|), XOR (^), NOT (~), Left Shift (<<), Right Shift (>>), Zero-fill Right Shift (>>>).
    • Visual truth table breakdown for the selected operation.
  • Signed vs Unsigned Mode: Support for 8-bit, 16-bit, 32-bit, and 64-bit integer views (Two's complement).
  • Endianness Preview: Show Little-Endian vs Big-Endian byte order.

Engineering & Privacy

  • 100% Client-Side: Native BigInt, bitwise operators, and Uint8Array/DataView.
  • Zero Dependencies: Pure TypeScript implementation.
  • URL State: Support linking with pre-filled numeric values via useUrlState.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgood first issueGood for newcomersnew toolA new tool addition to the toolkit

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions