mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 22:13:30 +08:00
25 lines
504 B
Python
25 lines
504 B
Python
#!/usr/bin/env python
|
|
|
|
import numpy as np
|
|
import itertools as it
|
|
from copy import deepcopy
|
|
import sys
|
|
|
|
|
|
from animation import *
|
|
from mobject import *
|
|
from constants import *
|
|
from region import *
|
|
from scene import Scene
|
|
from script_wrapper import command_line_create_scene
|
|
|
|
|
|
class SampleScene(Scene):
|
|
def construct(self):
|
|
circle = Circle().repeat(6)
|
|
self.play(Transform(circle, Square(), run_time = 3))
|
|
self.dither()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
command_line_create_scene() |