10 Elements

This is my algorithms html demo! Write the algorithm on the left, or select an example below. The array that's being sorted is arr, set colors using set_color(index, color) and clear_colors(), sleep by typing await sleep(ms), and render the changes using render(). This was inspired by this youtube video.