Transformation article

This commit is contained in:
Grant Sanderson
2015-11-09 10:34:00 -08:00
parent ac930952f1
commit 199c600e36
7 changed files with 189 additions and 60 deletions

View File

@ -229,6 +229,7 @@ class XYZAxes(Mobject1D):
self.z_axis = self.x_axis.copy().rotate(np.pi/2, DOWN)
self.digest_mobject_attrs()
self.pose_at_angle()
class SpaceGrid(Mobject1D):
@ -246,6 +247,7 @@ class SpaceGrid(Mobject1D):
start = np.array([a, b, -self.radius])[perm]
end = np.array([a, b, self.radius])[perm]
self.add_line(start, end)
self.pose_at_angle()