You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the flood fill example I realized there was a limitation of color. I thought it would be useful to allow the coder to provide different colors to a Tracer for they can have custom select or notify etc.. colors.
Any thoughts on this? I am gonna mess around with the code to see if I can get something working.
I can't find this feature. Seems it's been removed from the code.
I think this is a basic feature and a useful one too. For example in Quicksort, selecting pivot in different color could make things easier to understand.
If I remember correctly, I removed this feature while rewriting the entire code base in React because inconsistent custom colors across different visualizations might rather confuse users. However, since I agree that only having two colors restricts a potentially better visualization, I will reopen the issue until we find a solution for the inconsistency issue.
Activity
nadr0 commentedon Jun 19, 2016
Pull request went through, this can be closed whenever.
Alireza-Farahani commentedon Dec 12, 2019
I can't find this feature. Seems it's been removed from the code.
I think this is a basic feature and a useful one too. For example in Quicksort, selecting pivot in different color could make things easier to understand.
64json commentedon Dec 19, 2019
If I remember correctly, I removed this feature while rewriting the entire code base in React because inconsistent custom colors across different visualizations might rather confuse users. However, since I agree that only having two colors restricts a potentially better visualization, I will reopen the issue until we find a solution for the inconsistency issue.
64json commentedon Dec 19, 2019
Maybe we can have a color legend?
Njancodes commentedon Oct 9, 2025
Maybe the color legend could be shown in the corner of the layout. Like, for the functions in the tracers,
patch : red,
set : blue
having a set of colors than the whole spectrum would be better right ?