A community-maintained Python framework for creating mathematical animations.
test for fixed 3d text
BrendanMartin3d2a6d3dd16f
diff --git a/tests/control_data/graphical_units_data/threed/FixedInFrameMObjectTest.npz b/tests/control_data/graphical_units_data/threed/FixedInFrameMObjectTest.npznew file mode 100644index 000000000..705f384ccBinary files /dev/null and b/tests/control_data/graphical_units_data/threed/FixedInFrameMObjectTest.npz differdiff --git a/tests/test_graphical_units/test_threed.py b/tests/test_graphical_units/test_threed.pyindex 83865cd41..399248b93 100644--- a/tests/test_graphical_units/test_threed.py+++ b/tests/test_graphical_units/test_threed.py@@ -34,6 +34,16 @@ class AmbientCameraMoveTest(ThreeDScene):self.play(Animation(cube))+class FixedInFrameMObjectTest(ThreeDScene):+ def construct(self):+ axes = ThreeDAxes()+ self.set_camera_orientation(phi=75 * DEGREES, theta=-45 * DEGREES)+ text3d = TextMobject("This is a 3D text")+ self.add_fixed_in_frame_mobjects(text3d)+ text3d.to_corner(UL)+ self.add(axes)+ self.wait()+MODULE_NAME = "threed"