regl-circles
✓ Published0🌍 Public
11wheel
Last edited Jun 26, 2018
Created on Jun 26, 2018
Twenty thousand colored circles fall from the top of the viewport, then settle into horizontal bands based on each circle's speed and size. Two quantized scales map circle index to a target row, and a WebGL shader renders each point with a soft-edged stroke and rounded fill. The animation cycles continuously via a REGL frame loop, with position and color computed per frame in the vertex and fragment shaders using D3 scales and lodash for data shuffling.
AI-generated descriptionhello webgl circles