Skip to content

Latest commit

 

History

History

README.md

CrabCrust Examples

This directory contains example code and demo materials for CrabCrust.

Code Examples

  • custom_animation.rs - Create your own custom Braille animation
  • git_wrapper.rs - Use the GitWrapper to add animations to git commands
  • test_braille_no_terminal.rs - Test Braille rendering without terminal dependency
  • visualize_animations.rs - Visualize and debug animations
  • pac_inspector.rs - Inspect Pin2DMD .pac files (experimental)

Running Examples

# Run an example
cargo run --example custom_animation

# Run with features
cargo run --features video --example pac_inspector

Demo Materials

demo.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.

Creating Custom Animations

See custom_animation.rs for a template showing how to:

  1. Implement the Animation trait
  2. Render to a BrailleGrid
  3. Update animation state
  4. Use with AnimationPlayer

Contributing Examples

Have a cool example? Submit a PR!