mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 02:35:22 +08:00
Refactored helpers.py into a folder of various util files
This commit is contained in:
@ -1,12 +1,17 @@
|
||||
# from mobject import Mobject, Point, Mobject1D
|
||||
# from mobject.mobject import Mobject, Point, Mobject1D
|
||||
from mobject.vectorized_mobject import VMobject, VGroup, VectorizedPoint
|
||||
from scene import Scene
|
||||
from scene.scene import Scene
|
||||
from animation.transform import Transform
|
||||
from animation.simple_animations import ShowCreation
|
||||
from topics.geometry import Line, Polygon, RegularPolygon, Square, Circle
|
||||
from characters import PiCreature, Randolph, get_all_pi_creature_modes
|
||||
from utils.bezier import interpolate
|
||||
from utils.color import color_gradient
|
||||
from utils.config_ops import digest_config
|
||||
from utils.space_ops import rotation_matrix, rotate_vector, compass_directions, center_of_mass
|
||||
|
||||
from constants import *
|
||||
|
||||
from helpers import *
|
||||
|
||||
def rotate(points, angle = np.pi, axis = OUT):
|
||||
if axis is None:
|
||||
|
Reference in New Issue
Block a user