Skip to content

Polygon Drift

Hexagon outlines in three depth layers circling slowly in place with parallax, turning a sixth per loop.

Theme an embed without editing the bit: put data-variable-values on the data-composition-src element, or bake new defaults into the installed copy with --set.

IdTypeDefaultLabel
backgroundcolor#100f0fBackground
foregroundcolor#f2f0e5Foreground
accentcolor#4fb6ecAccent
sidesnumber6Polygon sides
countnumber54Polygons
<div data-composition-src="compositions/zoom-polygons.html" data-variable-values='{"background":"#100f0f","foreground":"#f2f0e5","accent":"#4fb6ec","sides":6,"count":54}'></div>
Terminal window
npx @av/hyperbits add zoom-polygons --into compositions/ --set "background=#0b1020"