ArrayVisualizer
ArrayVisualizer copied to clipboard
Allow changing sorts mid-sort
It would be pretty neat to be able to experiment with doing, for example, an initial two or three passes of circle sort, and then change to insertion sort without reshuffling the data or resetting the timers/counters. Sort of a make-your-own compound sort algorithm.
Manually changing the sort (probably completing the current pass first before pausing and letting you select a new one) would be fine, but an option to say in advance you want to do n passes or (in recursive algorithms) n recurses deep, and then automatically switch to another sorting algorithm, would be especially fun to play with.
I suppose, although admittedly this is not a high-priority idea for me. If you would like it sooner, you are welcome to submit a pull request!
I'm afraid I don't have the programming skill to do so! I just thought it would be a nice feature to make a feature request for. Certainly not an urgent one.
Alright!! Will think about it in the future.