Skip to main content
100%

Video2

✓ Published0🌍 Public
CChristoph Diefenthal
Last edited Apr 3, 2020
Created on Apr 3, 2020
Forked from Video

A video plays inside a circular mask on a yellow canvas, while the entire composition spins and translates via D3's `d3.timer` and `attr` transforms. The example embeds an HTML5 `<video>` element within an SVG `foreignObject`, clipped by CSS `border-radius` and `-webkit-mask-image`. A second separate video control also appears. The code uses D3 v5 to manipulate SVG groups (`g`), circles, and transitions, demonstrating video integration with animated SVG graphics.

AI-generated description
MIT Licensed

Similar vizzes