You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
358 B
13 lines
358 B
3 months ago
|
from manim import *
|
||
|
|
||
|
|
||
|
class FixedInFrameMObjectTest(ThreeDScene):
|
||
|
def construct(self):
|
||
|
axes = ThreeDAxes()
|
||
|
self.set_camera_orientation(phi=75 * DEGREES, theta=-45 * DEGREES)
|
||
|
text3d = Text("This is a 3D text")
|
||
|
self.add_fixed_in_frame_mobjects(text3d)
|
||
|
text3d.to_corner(UL)
|
||
|
self.add(axes)
|
||
|
self.wait()
|