15 lines
447 B
Python
15 lines
447 B
Python
from manim import *
|
|
|
|
|
|
class ThreeDCameraRotation(ThreeDScene):
|
|
def construct(self):
|
|
axes = ThreeDAxes()
|
|
circle = Circle()
|
|
self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES)
|
|
self.add(circle, axes)
|
|
self.begin_ambient_camera_rotation(rate=0.1)
|
|
self.wait()
|
|
self.stop_ambient_camera_rotation()
|
|
self.move_camera(phi=75 * DEGREES, theta=30 * DEGREES)
|
|
self.wait()
|