Renamed SPACE_WIDTH and SPACE_HEIGHT to SPACE_X_RADIUS and SPACE_Y_RADIUS to be less confusing

This commit is contained in:
Grant Sanderson
2018-03-30 11:03:14 -07:00
parent 873fa49fbe
commit 55786e443d
98 changed files with 951 additions and 951 deletions

View File

@ -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)