This directory contains example code and demo materials for CrabCrust.
custom_animation.rs- Create your own custom Braille animationgit_wrapper.rs- Use the GitWrapper to add animations to git commandstest_braille_no_terminal.rs- Test Braille rendering without terminal dependencyvisualize_animations.rs- Visualize and debug animationspac_inspector.rs- Inspect Pin2DMD .pac files (experimental)
# Run an example
cargo run --example custom_animation
# Run with features
cargo run --features video --example pac_inspectordemo.gif / demo.mp4 - Demo video showing CrabCrust in action
Place your demo video here with the name demo.gif or demo.mp4 and it will automatically appear in the main README.
See custom_animation.rs for a template showing how to:
- Implement the
Animationtrait - Render to a BrailleGrid
- Update animation state
- Use with AnimationPlayer
Have a cool example? Submit a PR!