Skip to content

Tryquetra/balanced-ternary-abacus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English Português ·


Logotipo do Hei-San-Ban

🇺🇸 Hei-San-Ban: Balanced Ternary Abacus

Inspired by the Japanese Soroban, 平三盤 (Hei-San-Ban) is a computational abacus (physical or digital) designed for calculations in the balanced ternary number system. Unlike traditional systems, it uses digits {-1, 0, +1}, enabling a symmetric representation of positive and negative numbers.

The name captures the project’s essence:

  • 平 (Hei): system balance
  • 三 (San): numeric base three (ternary)
  • 盤 (Ban): the board/apparatus (abacus)

This repository hosts an interactive implementation of the Hei-San-Ban, serving as an educational tool and a practical exploration of balanced base-3 computation.

Features

  • Responsive, interactive UI (top/bottom beads touch the center bar)
  • Decimal total and MathJax-rendered notation
  • Bilingual content (PT/EN) with a toggle button
  • Soroban-inspired tips and foldable tutorial/add/subtract sections
  • PWA with offline support after the first visit

Live Long and Prosper 🖖🏻


© Licensed under the terms in LICENSE.

🇧🇷 平三盤 (Hei-San-Ban): Ábaco Ternário Balanceado

Inspirado no ábaco japonês Soroban, o 平三盤 (Hei-San-Ban) é um ábaco computacional (físico ou digital) projetado para cálculos no sistema ternário balanceado. Diferente dos sistemas tradicionais, ele usa os dígitos {-1, 0, +1}, permitindo representar números positivos e negativos de forma simétrica.

O nome resume a essência do projeto:

  • 平 (Hei): o equilíbrio do sistema
  • 三 (San): a base três (ternária)
  • 盤 (Ban): a placa/tabuleiro de cálculo (o ábaco)

Este repositório contém uma implementação interativa do 平三盤, servindo como ferramenta educacional e exploração prática de computação em base 3 balanceada.

Recursos

  • Interface responsiva e interativa (contas superiores/inferiores tocam a barra central)
  • Exibição do total em decimal e notação matemática com LaTeX
  • Conteúdo bilíngue (PT/EN) com troca por botão
  • Dicas inspiradas no Soroban e seções dobráveis de tutorial/como somar/como subtrair
  • PWA com suporte offline após a primeira visita

Vida Longa e Próspera 🖖🏻