13 lines
382 B
Python
13 lines
382 B
Python
|
from manim import *
|
||
|
|
||
|
|
||
|
class ThreeDCameraIllusionRotation(ThreeDScene):
|
||
|
def construct(self):
|
||
|
axes = ThreeDAxes()
|
||
|
circle = Circle()
|
||
|
self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES)
|
||
|
self.add(circle, axes)
|
||
|
self.begin_3dillusion_camera_rotation(rate=2)
|
||
|
self.wait(PI / 2)
|
||
|
self.stop_3dillusion_camera_rotation()
|