1844

2

Utilizing color for time

By converting color to HSB, I was able to change the color of the impact area based on the year.

float markerColor = map(float(myData[i][1]), 1000, 2010, 210, 0);
colorMode(HSB, 360, 100, 100, 50);
fill(markerColor, 100, 100, 20);

Comments

Please sign in or sign up to comment.