Skip to main content

Magnetic

VFX composition block

Live preview needs the chrome://flags/#canvas-draw-element flag switched on. Without it this item’s screen renders black. 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.

Change the colors

Set these CSS variables on the block:
  • --bg-color — Background. Defaults to #0c0c0c.
  • --text-color — Text color. Defaults to #e8e8e8.
Tagged html-in-canvas webgl.

Related topics