neilpl24 / pierreanalyticsource

5 stars 2 forks source link

Add a color gradient package to the repo #23

Closed bsummy closed 7 months ago

bsummy commented 7 months ago

Unless you feel strongly about keeping your coloring function, I think it'd be nice to move over to javascript color gradient to do the weighting of the colors for us. I think there's a dependency conflict, but I'll try to figure it out.

bsummy commented 7 months ago

using a package called chroma, and I haven't fully figured out the settings for the perfect gradient yet. Old is on the left, new is on the right. EDIT: I tweaked it from these screen shots Screenshot 2024-04-06 at 12 46 38 AMScreenshot 2024-04-06 at 12 46 31 AM

I think it'll be better for leaderboards like this since we can have more differences between 99 percentile and 90 percentile

Screenshot 2024-04-06 at 12 50 48 AM
bsummy commented 7 months ago

Full color scale that i'm going with. not sure how I feel about it

Screenshot 2024-04-06 at 10 30 24 PM
bsummy commented 7 months ago

Standings are a bigggg change. I'm not sure why I'm sending this issue so many screenshots. I think I'm trying to convince myself. I do think standings look better a little lighter and only using black text

Screenshot 2024-04-06 at 10 37 14 PM