Can I use 'VectorScene' with manim-slides? #209
-
I'm trying to animate a vector space from manim import *
from manim_slides import *
class Animation(VectorScene):
def construct(self):
plane = self.add_plane(animate=True).add_coordinates()
vector = self.add_vector([-3,-2], color = YELLOW) Can I even do that with manim-slides because it has only the 'Slide'-class? |
Beta Was this translation helpful? Give feedback.
Answered by
jeertmans
Jul 7, 2023
Replies: 1 comment
-
Hello @marisbaier, thank you for your question! So the basic answer is: create a new class that subclass There is a specific section in the docs explaining how to do that: Subclass Custom Scenes. Here is a screenshot of its actual content: I hope it helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jeertmans
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @marisbaier, thank you for your question!
So the basic answer is: create a new class that subclass
Slide
andVectorScene
.There is a specific section in the docs explaining how to do that: Subclass Custom Scenes.
Here is a screenshot of its actual content:
I hope it helps!