Skip to main content
100%

Spiral Triangle II

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Apr 17, 2015

Three rotating triangles made of small squares converge in the center, with each square cycling through a smooth cubehelix color palette. The animation uses multiple `d3.timer` callbacks to update square positions and rotations, while `d3.scale.cubehelix` maps time-based domain values to color. Sixty squares per triangle move horizontally and spin at a constant angular speed, clipped to two regions that divide the SVG canvas. The code relies on D3 v3 selection methods and SVG transforms to coordinate the layered motion.

AI-generated description

A colorized version of my recreation of an untitled GIF by PATAKK.

gpl-3.0 Licensed

Similar vizzes