AnimG 标志AnimG

Rotating Orange Cube in 3D

正在加载视频…

正在加载视频…

Pro
0:00 / 0:00

Animation Specification for Test3D (Single Scene)

1. Overview

  • Purpose: Demonstrate a simple 3D cartoonish orange cube that appears, rotates with the camera for about 22 seconds, then fades out.
  • Total Duration: ~25 seconds (including brief pauses before and after the main rotation).

2. Mathematical / Geometric Elements

  • Cube: A 3‑dimensional cube (Cube) with side length 2 units, centered at the origin.
  • Camera Orientation: Initial spherical angles:
    • ϕ=75\phi = 75^{\circ} (elevation from the xy‑plane)
    • θ=45\theta = -45^{\circ} (azimuth around the z‑axis)
  • Camera Rotation Rate: Ambient rotation at a constant angular speed of 0.40.4 radians per second around the vertical axis.

3. Visual Elements

Element Description Color / Opacity
Cube (box) Solid orange cube with cartoonish style (no wireframe). Fill: ORANGE, Opacity: 1 (fully opaque)
Background Default Manim background (black) to contrast with orange cube.

4. Animation Sequence & Timing

Time (s) Action Details
0.0 – 1.0 Create Cube Use Create to draw the cube edges and fill simultaneously.
1.0 – 1.2 Brief Pause Small pause (wait(0.2)) to let the viewer absorb the static cube.
1.2 – 23.2 Camera Ambient Rotation Start ambient rotation (begin_ambient_camera_rotation(rate=0.4)) and keep it running for 22 seconds (wait(22)). The cube remains stationary; the camera orbits, giving the impression of the cube rotating.
23.2 – 23.4 Stop Rotation Call stop_ambient_camera_rotation().
23.4 – 24.4 Fade Out Cube Fade the cube out smoothly (FadeOut).
24.4 – 25.0 Final Pause Short wait (wait(0.6)) before ending the scene.

5. Camera & Perspective

  • Initial View: Set with set_camera_orientation(phi=75° , theta=-45°). This gives a slightly elevated, diagonal view of the cube.
  • Ambient Rotation: Rotates the camera around the vertical axis while maintaining the same elevation, creating a continuous orbit effect.
  • No additional camera moves after the rotation stops; the final view is the last position of the orbit.

6. Transitions & Easing

  • All play actions (Create, FadeOut) use Manim’s default smooth easing.
  • The ambient rotation is continuous and linear due to the constant rate parameter.

7. Additional Notes

  • The entire animation fits within a single ThreeDScene subclass (Test3D).
  • No textual labels are required; the visual cube and camera motion convey the concept.
  • The specification respects the ≤ 30 second guideline while fully expressing the intended behavior.

创作者

RamRam

描述

A solid orange cube appears, stays static for a moment, then the camera orbits around it for twenty-two seconds, creating the illusion of rotation. The orbit stops, the cube fades out, and the scene ends.

创建时间

Mar 8, 2026, 10:12 AM

时长

0:24

标签

3dgeometrycamera-rotation

状态

已完成
AI 模型
GPT-OSS-120b

复刻