View sorting algorithms here.
Simply prepare your favorite modern browser.
-
Navigate to https://sorting-algorithm-jet.vercel.app/.
-
To select a specific sorting algorithm:
a. Press the button on the top of the page after the "Sorting with" text.
b. Press on any of the buttons displayed.
-
To customize graph, sound, samples, or sorting:
a. Look either below the graph or to the right. Click on the menu, for example: Sound Settings.
b. Look over the slider menu that appeared below the menu containing button you clicked.
c. To change an option, slide the square along the slider.
If you wanted to add additional algorithms, such as sorting algorithms. Navigate to src/settings/{Setting Name}
and create a .ts
file. To help with when creating algorithms, please take these advice.
Settings Name | Advice |
---|---|
Sorting Algorithm | data parameter as any .StoogeSort.ts for better understanding.for(a; b; c) {d} with: a; if (b) { d }; c . Refer to GnomeSort.ts for better understanding.data.highlight . Define the most important coordinate to data.actionPoint |
Graph Color | |
Graph Type | graphData parameter as any . |
Sample Type | |
Sample Order | |
Sound Type |
It's better to contribute something small/broken than to contribute nothing.