Skip to content

Instantly share code, notes, and snippets.

@micahstubbs
Created May 21, 2017 00:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micahstubbs/ffe5976fc2648499927863b4acc94358 to your computer and use it in GitHub Desktop.
Save micahstubbs/ffe5976fc2648499927863b4acc94358 to your computer and use it in GitHub Desktop.
regl-animate-circles | sparse-glow
border: no
license: Apache-2.0

this example tweaks the min_dist in the fragment shader and picks a shorter tweenTime to produce a sparse field of ephemeral circles that glow briefly before fading


an iteration on the block regl-animate-circles which in turn forks the block ReGL circle animation example from @ajdant

commit history and related experiments here

<html>
<body>
<script src='https://cdnjs.cloudflare.com/ajax/libs/regl/1.3.0/regl.min.js'></script>
<script src='https://d3js.org/d3.v4.min.js'></script>
<script src='vis.js'></script>
</body>
</html>
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment