https://framer.com/m/ImageDepthScene-p17O.js
Io / Enhancements / SpatialScene
SpatialScene
SpatialScene turns a photograph into a relief. You give it the image and a depth map, and it builds a mesh that leans with the pointer — or with the device, on hardware that has no pointer at all.
Examples
Live specimens for every control the component exposes.
Default
image is the photograph and depth is its depth map: greyscale with white nearest, or a Turbo rainbow, which is decoded for you. Everything else is tuning.
Relief depth
meshDepth is the Z extent of the relief — how far the scene reads back from the surface. Small values behave like a lens; large ones exaggerate into a diorama. focus picks the depth that stays still while the rest moves around it.
meshDepth 0.5
meshDepth 1
meshDepth 2
Props
The controls exposed on the instance panel.
Usage
Guidance carried over from the component definition.
Reach for SpatialScene
A photograph should gain depth without being rebuilt in 3D.
You can supply a depth map alongside the photograph.
The motion should answer the pointer or the device, not the scroll.
The scene should also respond on phones, where device tilt replaces the pointer.
Reach for something else
You have the photograph but no depth map, and cannot generate one.
The picture should drift with the page — use ImageParallax.
The page must not ask iOS readers for motion access.
Io — Enhancements
Every specimen above is a live component instance. Colour, type and radius resolve from the project theme tokens.