Generate 50 random numbers and draw them as bars. Following the steps of bubble sort algorithm and redraw the bar every single step to show how bubble sort works.
Draw a dragon curve based on the golden ratio. At each recursion, the first recursion step turns 32.89 degrees to the left and move 0.74 times the original distance; the