A reaction training application for HEMA (Historical European Martial Arts) practitioners, built with the Bevy game engine.
The tool displays a set of numbers (1-8) arranged in a circle. It highlights targets in a sequence, allowing practitioners to practice their strike transitions and reaction times.
- Two Sequence Modes:
- Random: Targets are highlighted in a randomized order.
- Ordered: Targets are highlighted in numeric sequence (1 to 8).
- Two Rhythm Modes:
- Constant: A steady interval between highlights, adjustable via a slider.
- Accelerate: The sequence starts at the selected speed and automatically speeds up every 8 steps.
- Dynamic Layout: The circular arrangement of numbers automatically scales and centers itself based on the window size.
To start the application, run:
cargo runUse the side panel to:
- Toggle Mode: Switch between Random and Ordered sequences.
- Start/Stop: Launch or halt the training sequence.
- Toggle Rhythm: Switch between Constant and Accelerate timing.
- Adjust Speed: Use the vertical slider to set the baseline interval (0.5s to 3.0s).
The codebase is fully documented using Rust doc comments. To generate and view the documentation locally:
cargo doc --no-deps --open- bevy_ui_widgets: Used for the slider component.