Documentation/3D Device & MoHorizon Suite
3D Spatial & Device Engine3D Phone Mockup • Planetary Drum Roll

3D Device Frame & MoHorizon Suite

The 3D Device & MoHorizon Suite provides cinema-grade 3D phone device framing alongside 3D Cylindrical Horizon Roll and Spatial Perspective Depth. It projects standard DOM elements onto a virtual 3D planetary drum or angled perspective phone frame in real 3D space.

Active Profile · 01

3D Planetary Horizon

Layer 01 · Natural Balanced Curvature

3D Planetary Horizon

Scroll up or down. Elements pitch along the virtual 1400px cylindrical drum.

θ: 0.0° | Z: 0px120 FPS
Layer 02 · Horizon Lighting

Atmospheric Specular Cosine

Specular brightness scales smoothly with cos(θ) as elements enter horizon center focus.

R=1400px P=1000pxmatrix3d

Horizon Parameters

Cylinder Radius (R)1400px
Camera Perspective1000px
Pitch Rotation Factor1.00x
Z-Depth Factor1.00x
Atmospheric Lighting
<MoHorizon radius={1400} perspective={1000} shading={true}>
  <MoHorizonItem pitchFactor={1} depthFactor={1}>
    <div className="hero-card">...</div>
  </MoHorizonItem>
</MoHorizon>

<MoDeviceFrame> 3D Phone Mockup

Renders an interactive, hardware-accelerated 3D device mockup with titanium chassis bezel, dynamic notch, glass reflection gradient, and interactive cursor tilt physics:

components/DeviceShowcase.tsx
1import { MoDeviceFrame } from 'motion-organic/react';
2
3export function AppPreview() {
4 return (
5 <MoDeviceFrame
6 model="iphone-15-pro"
7 pitch={18}
8 roll={-12}
9 glare={true}
10 shadow="deep"
11 interactiveTilt={true}
12 className="max-w-md mx-auto"
13 >
14 <div className="p-6 bg-slate-900 text-white min-h-[500px]">
15 <h2>Your Mobile App UI</h2>
16 <p>Interactive 3D viewport canvas inside pure CSS device frame.</p>
17 </div>
18 </MoDeviceFrame>
19 );
20}

<MoHorizon> 3D Planetary Drum Roll

Maps scroll sections onto an organic 3D cylindrical drum with native 120 FPS scrolling, perspective pitch (θ = arcsin(Δy / R)), and receding Z-depth (Z = -R(1 - cosθ)):

components/PlanetaryHero.tsx
1import { MoHorizon, MoHorizonItem } from 'motion-organic/react';
2
3export function PlanetaryHero() {
4 return (
5 <MoHorizon radius={1400} perspective={1000} shading={true}>
6 <MoHorizonItem pitchFactor={1.2} depthFactor={1.0}>
7 <section className="h-screen flex items-center justify-center">
8 <h1 className="text-6xl font-bold">Planetary Curvature</h1>
9 </section>
10 </MoHorizonItem>
11 </MoHorizon>
12 );
13}

Architecture & Math Principles

True 3D Cylindrical Math

Computes exact cylindrical drum pitch (θ = arcsin(Δy / R)) and receding Z-depth (Z = -R(1 - cosθ)) in real perspective space.

Atmospheric Lighting

Elements catch specular light at the viewport horizon focus (brightness = cosθ) and gently fade toward outer orbital boundaries.

Zero Scroll Hijacking

100% native 60/120 FPS scrolling performance using layout-safe GPU matrix3d / transform without layout reflows or scroll trapping.