.. _sphx_glr_api_gallery_chaos_interactive_and_animation: Interactive and Animated Visualizers ------------------------------------ Examples illustrating the dynamic visualizers in :mod:`physicskit.chaos.visualizers.dynamic_plots`: a live Matplotlib animation of a billiard trajectory alongside its growing Poincare section, interactive Plotly figures (2D and 3D), and trajectory color-coding. .. note:: Run directly (``python examples/.../plot_x.py``), the Matplotlib animation opens an interactive window and the Plotly figures open in a browser tab. In the built documentation, the animation is instead embedded as inline HTML5 video (via Sphinx-Gallery's `animation scraper `_, enabled by ``matplotlib_animations: True`` in ``docs/source/conf.py``) and the Plotly figures as interactive embedded charts (via ``plotly.io._sg_scraper.plotly_sg_scraper``, Plotly's own Sphinx-Gallery scraper). .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/chaos/interactive_and_animation/images/thumb/sphx_glr_plot_billiard_animation_thumb.gif :alt: :doc:`/api/gallery/chaos/interactive_and_animation/plot_billiard_animation` .. raw:: html
Animated Billiard Trajectory
.. raw:: html
.. only:: html .. image:: /api/gallery/chaos/interactive_and_animation/images/thumb/sphx_glr_plot_colored_trajectories_thumb.png :alt: :doc:`/api/gallery/chaos/interactive_and_animation/plot_colored_trajectories` .. raw:: html
Trajectory Color-Coding
.. raw:: html
.. only:: html .. image:: /api/gallery/chaos/interactive_and_animation/images/thumb/sphx_glr_plot_plotly_trajectory_thumb.png :alt: :doc:`/api/gallery/chaos/interactive_and_animation/plot_plotly_trajectory` .. raw:: html
Interactive Plotly Figures
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/chaos/interactive_and_animation/plot_billiard_animation /api/gallery/chaos/interactive_and_animation/plot_colored_trajectories /api/gallery/chaos/interactive_and_animation/plot_plotly_trajectory