A web-based digital logic circuit designer and simulator built with React, TypeScript, and HTML5 Canvas.
NOTE: This app was fully developed using Agent-based development tools (Claude Code, Codex, and OpenCode)
- Design circuits using NAND and NOR gates
- Create custom reusable components from your circuits
- Interactive input board with toggle switches
- Output board displaying computed values
- Pan and zoom canvas navigation
- Custom components saved to localStorage
- Framework: React 18 + TypeScript
- Build: Vite
- State: Zustand with Immer
- Rendering: HTML5 Canvas
- Node.js (v18 or higher recommended)
- npm
npm installnpm run devOpens the development server at http://localhost:5173.
npm run build
npm run previewsrc/
├── canvas/ # Canvas rendering, hit testing, interactions
├── store/ # Zustand store (circuit + UI state)
├── simulation/ # Circuit compilation and evaluation
├── types/ # TypeScript type definitions
├── components/ # React UI components
└── hooks/ # Custom React hooks