OxfordComma / oxfordcomma.github.io

2 stars 1 forks source link

Change brightness for adjacent streamgraph streams #25

Open OxfordComma opened 5 years ago

curran commented 5 years ago

nextLuminance = previousLuminance + (Math.random() - 0.5) * c

c = some constant that you can tweak

curran commented 5 years ago

https://github.com/d3/d3-color