CCurran Kelleher
Last edited Nov 9, 2026
Created on Nov 9, 2026
Forked from Svelte + D3: Canvas & renderless components
View stargazersTen thousand semi-transparent dots pulse in a two-second loop, their positions, sizes, and magma-scale colors assigned by random functions mapped through D3 scales. Svelte components manage the lifecycle: a canvas component coordinates drawing and invalidation, while individual circle components use `svelte/motion` tweens to animate between updates, rendering efficiently via Canvas API calls.
Canvas-based visualization of 10,000 randomly positioned, animated circles. Components use Svelte 5 runes and the existing D3 color and scale utilities.
MIT Licensed
Comments
Sign in to join the discussion.