A terminal Firework animation engine and ASCII art CLI written in Go, built with Charm's Bubble Tea and Lip Gloss TUI libraries.
For the best animation experience, use a GPU-accelerated terminal emulator such as Kitty, Alacritty or similar. While not required, these terminals can provide smoother and more vibrant visuals for the firework animation.
- Real-time firework simulation reusing firework-rs cjk charset and glimmering effect.
- Colorful, animated terminal output for modern terminal emulators.
- Performance-oriented particle engine.
- 30 FPS ASCII rendering up to 4K (3829x700 with kitty or iTerm2 on Apple M1/16GB).
git clone https://github.com/erik-adelbert/firework.git
cd fireworkmake demoor
make runBuild the executable:
make build
./bin/firework -hgo install github.com/erik-adelbert/firework/cmd/firework@latestmake test
make benchgo run ./cmd/firework/main.goBuild a binary:
mkdir -p bin
go build -o bin/firework ./cmd/firework/main.go
./bin/firework -hcmd/firework/— CLI entry point (mainpackage)fireworks/— Builtins fireworksdemos/— Builtins showsinternal/— Core simulation and rendering logictui/— Charm's TUI application
- The model simulates fireworks as a simple physics-based particle system.
- Fork the project and open a pull request
- Contribute improvements, new fireworks, or show scripts
MIT. See LICENSE.
Erik Adelbert
Note: I don't need to vibe my code. This project is crafted.
