Helping Mousey get his Cheesesticks

The latest program we were assigned was to animate a kind of sort of our choosing, we chose to do a insertion sort.  A insertion sort is when one number is compared to the next and is switched when the first number is greater than the second number, all the way to the point where the number before it is less than the number. In order to animate this sort we need to use if statements instead of for loops to animate the sort. Using a for loop is unnecessary because the draw is already a loop, therefore we converted the for loop sorting into if loops. This should create an insertion sort.


here is the link to the sort:

(will upload the link soon)


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s