Daniel Garcia
10/29/2023, 6:03 AMinterface
is represented by a color, and the signature of a function is shown with these colors.
I need some help with a better algorithm to transform the name of the type
into to a color. e.g. the type string
-> blue, int
-> green, etc.
The problem is that I’m not sure what I want the output to be, how should the color space be distributed? how should colors be clustered?
I think I can copy what code editors use for semantic highlighting
, but I haven’t been able to find an implementation of it.
Does anyone have ideas on what I should search for?
Happy to explain more, if it’s not clear.
PS. Here is how a codebase currently looks. White rectangles are files, interfaces are shown on the top, and functions on the bottomFreeMasen
10/29/2023, 5:58 PMBeni Cherniavsky-Paskin
11/05/2023, 8:46 AMDaniel Garcia
11/11/2023, 5:58 PM