freeman-lab/pixel-grid

support transitions

Opened this issue · 3 comments

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.

I'd still like to wrap this logic up in standalone module, this could be a good test case for it

Yeah great idea!

Okay - have this thing basically working https://github.com/mathisonian/regl-tween