Description
Terms
- Checked the existing issues and discussions to see if my issue had not already been reported;
- Checked the frequently asked questions;
- Read the installation instructions;
- Created a virtual environment in which I can reproduce my bug;
Describe the issue
I have rendered it using manim-slides render scene.py CreateCircle
, after which I convert to HTML using manim-slides convert CreateCircle slide.html
. I can open slide.html
just fine in any browser, and play the animation for the first time just fine, with a quality and smoothness that is satisfactory. However, when I use the arrows to go backwards through the slides and then move forward again, each animation I think starts from the last frame in the corresponding mp4, before realizing it should reset to the start and play. This makes the final state of the animation appear and disappear very quickly for each animation.
It seems like a caching issue because it does not happen when I first go through the slides.
Slides were created on the following machine:
OS: Fedora 40
Python 3.10.14
manim 0.18.1
manim-slides 5.2.0
The issue is observed on Fedora 40 (Linux and Thorium browsers) as well as Windows 11 (Edge browser).
Command
manim-slides convert CreateCircle slide.html
Issue Type
Visual bug when presenting (manim-slides present
)
Python version
Python 3.10.14
Python environment
Manim Slides version: 5.2.0
Python executable: /home/svandenhaute/micromamba/envs/psiflow_env/bin/python3.10
Manim bindings:
manim (version: 0.18.1)
manimgl not found
Qt API: pyqt6 (version: 6.7.1)
What is your platform?
Linux, Windows
Other platform
No response
Manim Slides Python code
from manim import (
Scene, Create,
Circle, Square,
Transform, FadeOut,
)
from manim_slides import Slide
class CreateCircle(Slide):
def construct(self):
square = Square()
circle = Circle()
self.play(Create(square))
self.next_slide()
self.play(Transform(square, circle))
self.next_slide()
self.play(Transform(square, Square()))
self.next_slide()
Relevant log output
No response
Screenshots
No response
Additional information
No response
Recommended fix or suggestions
No response