support transitions
Opened this issue · 3 comments
freeman-lab commented
It would be nice to add a transition option that automatically smoothly transitions between colors within each square (in the current demos, all transitions are "faked" just by doing it manually on the input data side). Can borrow some neat tricks @mathisonian came up with for doing it all in the shader.
mathisonian commented
I'd still like to wrap this logic up in standalone module, this could be a good test case for it
freeman-lab commented
Yeah great idea!
mathisonian commented
Okay - have this thing basically working https://github.com/mathisonian/regl-tween