Replies: 1 comment 2 replies
-
what do you mean by "write a animate"? Do you just want to draw a line with a corner? Or do you want to I suggest you come over to Discord because it's much easier to have a conversation over there... class rightupright(Scene):
def construct(self):
line = VMobject().set_points_as_corners([ORIGIN, RIGHT, RIGHT+UP, RIGHT+UP+RIGHT])
self.play(Create(line))
dot = Dot(point=line.get_start())
self.add(dot)
self.play(MoveAlongPath(dot,line), run_time=3)
self.wait() rightupright.mp4 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to write a animate that doesn't just go from one point to the other in a straight way but goes RIGHT then UP and then RIGHT again. I found ConvexHull which should make this possible but I'm wondering if there's any better way?
Beta Was this translation helpful? Give feedback.
All reactions