方案 A · Front row
七张卡转回正面,台阶式停留 2 秒
Seven cards turn to the front and hold in a stepped row for 2 seconds.

把 iPhone 实况照片变成可以倾斜、可以走进去的立体卡片 · Turn Live Photos into tiltable 3D cards you can step into.
七张卡转回正面,台阶式停留 2 秒
Seven cards turn to the front and hold in a stepped row for 2 seconds.

七张卡斜向停留
Seven cards hold in an angled fan.

素材始终完整。每张卡播放原始实况照片。不抠人物、不拆图层:人物与场景始终来自同一帧。
Footage, never cut apart. Each card plays the original Live Photo. No cut-out people, no layers: the person and the scene always come from the same frame.
逐帧深度。Depth Anything V2(Small)为每帧估计深度图,统一归一化并做时间平滑。RGB 与深度上下叠入同一视频(上方 RGB、下方深度),保证始终同步。
Depth per frame. Depth Anything V2 (Small) estimates a depth map for every frame, globally normalised and temporally smoothed. RGB and depth are stacked into one video (top = RGB, bottom = depth), so they can never drift out of sync.
空间照片着色器。片元着色器按 tilt × (depth − subjectDepth) × k 偏移像素。主体保持稳定,背景移动,形成没有撕裂感的真实纵深。
Spatial-photo shader. The fragment shader offsets each pixel by tilt × (depth − subjectDepth) × k. The subject stays put and the background moves, which reads as real depth with no tearing.
画框之外的世界。图像模型将场景扩展至约 260°。接缝匹配低频色彩与清晰度,AI 像素不能比原片更锐利。逐帧跟踪手持相机运动(仿射变换与增益),让静态扩展随视频一起移动。
The world beyond the frame. Each scene is outpainted to about 260° with an image model. Seams are matched in low-frequency colour and in sharpness: AI pixels may not be sharper than the original. Hand-held camera motion is tracked per frame (affine + gain) so the static extension moves with the video.
无跳变循环。循环接点先对齐背景,再用 DIS 光流合成 4 帧。不同地点的镜头以 0.4 秒高斯虚焦转场衔接,在最模糊处硬切,避免同时出现两个人。慢动作先稳定,再用 minterpolate 补帧。
Loops that don't jump. Loop points are background-registered, then 4 frames are synthesised with DIS optical flow. Shots in different places are joined with a 0.4 s Gaussian focus-pull: hard-switch at maximum blur, so you never see two people at once. Slow motion is stabilise first, then minterpolate.
弱显卡上的 60 fps。不用 MSAA,圆角在着色器中以 SDF 抗锯齿;开场使用 360 px 小视频。视频纹理仅在新帧到达时上传(requestVideoFrameCallback)。开场前完成预热。扩展跟踪读取已呈现帧的 mediaTime,而非 currentTime。
60 fps on a weak GPU. No MSAA (rounded corners are SDF anti-aliased in the shader). Small 360 px videos during the intro. Video textures upload only on new frames (requestVideoFrameCallback). Everything is warmed up before the intro starts. Ext tracking uses the presented frame's mediaTime, not currentTime.
手机。iPhone Duo 使用 Apple 公开产品查看器的 glTF 渲染。双手围绕绿幕生成,再贴回真实渲染,仅保留拇指。页面按视口自身布局绘制到渲染目标,使收尾第一帧与首页逐像素一致。
The phone. The iPhone Duo is rendered from Apple's public product-viewer glTF. The hands are generated around a green screen; the real render is pasted back on top and only the thumbs are kept. The page is rendered into a render target with the viewport's own layout, so frame 1 of the outro is pixel-identical to the home page.