Files
dsProject/dsLightRag/Manim/generative-manim/datasets/code/FixedInFrameMObjectTest.py
2025-08-14 15:45:08 +08:00

13 lines
358 B
Python

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