An interactive Vue + Vite app for learning error correction codes by flipping bits and watching encode/decode steps in real time.
This project is designed for students with basic CS background who are new to ECC. The companion talk script is in tutorial.md.
- Repetition code with majority voting
- Parity check (even parity)
- Hamming code with syndrome visualization
- SEC-DED (Hamming + overall parity)
- Convolutional code with step-by-step encoder and Viterbi decoding
- Pick a tab (Repetition / Parity / Hamming / SEC-DED / Convolutional)
- Input bits on the sender side
- Click bits on the receiver side to flip them
- Watch the decode status and step-by-step calculations
pnpm installpnpm devpnpm buildpnpm previewsrc/Vue app sourcesrc/components/UI + visualization componentssrc/utils/ECC logic (Hamming, SEC-DED, Convolutional, Viterbi)tutorial.mdSpeaker script / lecture notes
- If you want to present the lecture, follow
tutorial.mdand operate the UI along the script.
- Vue 3 + Vite
- TypeScript
- Tailwind CSS + DaisyUI
Thanks following project for initial inspiration
- https://github.com/harryli0088/hamming-code
- But what are Hamming codes? The origin of error correction by 3Blue1Brown
- Hamming codes part 2: The one-line implementation by 3Blue1Brown
GPL-3.0