pytrebuchet.plotting.launch module
Plotting functions for trebuchet launch simulation.
- pytrebuchet.plotting.launch.animate_launch(simulation: Simulation, skip: int = 5, delay: float = 25, *, show: bool = True) FuncAnimation
Animate the trebuchet launch and projectile motion using matplotlib.
- Parameters:
simulation – Simulation instance with completed run
skip – Number of frames to skip for faster animation
delay – Delay between frames in milliseconds
show – Whether to display the animation immediately
- Returns:
None