Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend: Support multiple distinct track colors #172

Open
tuffnerdstuff opened this issue Apr 2, 2021 · 1 comment
Open

Frontend: Support multiple distinct track colors #172

tuffnerdstuff opened this issue Apr 2, 2021 · 1 comment

Comments

@tuffnerdstuff
Copy link
Contributor

tuffnerdstuff commented Apr 2, 2021

It would be nice to have a configurable set of distinct colors, one for each new user/participant of a group share. Currently all the tracks are rendered using the same color (trail_color), which gets confusing if you have bunched/crossing tracks. Therefore I would suggest the following changes:

  • rename trail_color to trail_colors and make it an array
  • choose 16 distinct colors as default value for trail_colors
  • for each new user choose the color at the next index in trail_colors
  • if more users joint than there are colors, just wrap around
@rustyduffer
Copy link

This would be great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants