Good idea, but maybe that's causing the notebook to be slow? I'd suggest we don't animate it, or animate it only when it's visible (and only on visible maps).
it's too slow (even on my fast macbook M1) to be a good animation; we could make it into an animation if we updated the shapes' colors without reprojecting them, but it seems a bit out of scope for this tutorial. I'd recommend using a basic Inputs.range instead. Or, if you want to animate, we bite the bullet and do the color update function.