Skip to content

Instantly share code, notes, and snippets.

@jaddoescad
Created March 9, 2019 23:49
Show Gist options
  • Save jaddoescad/a97921e94d5991eb864271b247200b47 to your computer and use it in GitHub Desktop.
Save jaddoescad/a97921e94d5991eb864271b247200b47 to your computer and use it in GitHub Desktop.
Move circle with manim
from big_ol_pile_of_manim_imports import *
# Move shapes
class MoveCircle(Scene):
def construct(self):
circle = Circle(radius=1,color=RED)
end_point = (3,0,0)
animation = ApplyMethod(circle.shift, end_point)
self.play(animation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment