Skip to main content

Install

Terminal
That writes compositions/vfx-iphone-device.html, plus 4 supporting files under models/.
Live preview needs the chrome://flags/#canvas-draw-element flag switched on. Rendering from the CLI switches it on for you. How it works

Add it to your video

It runs for 15 seconds at 1920×1080. Paste this into your composition:
index.html
Move it in time with data-start. Put it on a different timeline row with data-track-index. See data attributes for the rest. Tagged html-in-canvas 3d device iphone macbook gltf.