mirror of
https://github.com/3b1b/manim.git
synced 2025-07-31 05:52:34 +08:00
Renamed SPACE_WIDTH and SPACE_HEIGHT to SPACE_X_RADIUS and SPACE_Y_RADIUS to be less confusing
This commit is contained in:
@ -12,7 +12,7 @@ from constants import *
|
||||
from mobject.region import *
|
||||
from scene import Scene
|
||||
|
||||
RADIUS = SPACE_HEIGHT - 0.1
|
||||
RADIUS = SPACE_Y_RADIUS - 0.1
|
||||
CIRCLE_DENSITY = DEFAULT_POINT_DENSITY_1D*RADIUS
|
||||
|
||||
|
||||
@ -231,7 +231,7 @@ def next_few_videos(*radians):
|
||||
"black",
|
||||
lambda point : np.linalg.norm(point) < 0.5
|
||||
)
|
||||
big_frame = deepcopy(frame).scale(SPACE_WIDTH)
|
||||
big_frame = deepcopy(frame).scale(SPACE_X_RADIUS)
|
||||
frame.shift((-5, 0, 0))
|
||||
|
||||
sc.add(thumbnail)
|
||||
|
Reference in New Issue
Block a user