# Rotating Cube Smallest 3D scene. ```{raw} html ▶ Run in browser ``` **Tags:** `3d` A textured cube spinning on two axes. Demonstrates `MeshInstance3D`, `Camera3D`, `Material`, and per-frame rotation via `on_update()`. ## Source ```{literalinclude} ../../examples/features/3d/rotating_cube.py :language: python :linenos: ```