block by nbremer b1fbcc0ff00abe8893a087d85fc8005b

Abrupt gradients - Dynamically updating gradient

Full Screen

This simple example comes from my blog on Using gradients for abrupt color changes in data visualizations

Showing how an underlying gradient can be updated when you move the brush over the rectangle

You can see this technique of abrupt color changes applied to an actual data visualization in these two examples

index.html