MusicTheorist/ArrayVisualizer

Use Aphitorite's cleaner version of original disparity formula

Closed this issue · 1 comments

double len = 2 * Math.abs(Math.abs(array[i] - i) - ArrayVisualizer.getCurrentLength() * 0.5) / ArrayVisualizer.getCurrentLength();

Done! Available in next update.