ArrayVisualizer
ArrayVisualizer copied to clipboard
Disparity bar graph visual style idea
Everyone knows disparity circle, right? Well what happens if we "un-wrap" it into a bar graph visual style? This is an idea I had on discord, and 空子 from the server discussed how it would maybe work, with it's general idea being this piece of code she wrote (thanks by the way):
(1 + Math.cos((Math.PI x (array[i] - i)) / (2 x length))) / 2
Bascically the bar graph array is treated as the disparity circle visual style, just with the fact that the ends aren't conneted. Do you think this would be a good idea? I do.
i wish i can do bread
i wish i can do bread
Bread can exist in your heart