Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # More: https://blog.furas.pl/python-manim-basic-image-animations-in-manim-gb.html
- # display static image : https://youtu.be/X6xNsXXIDDM
- # display duplicated image : https://youtu.be/LHqwee_ndck
- # move without animation : https://youtu.be/sOR5rTkmWGw
- # move with animation : https://youtu.be/_ho8Grsum_Y
- # rotate without animation : https://youtu.be/x4PVJCeESG4
- # rotate with animation : https://youtu.be/TWIeJoTWis4
- # Image `Lenna` from Wikipedia: https://en.wikipedia.org/wiki/Lenna
- from manim import *
- class Example(Scene):
- def construct(self):
- self.wait(.1) # to skip animation of first image
- image = ImageMobject('lenna.png')
- self.add(image)
- self.wait(3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement