"Animated" Sorting Algorithms (in Swift)

It’s the last day of NaCreSoMo! I had fun with the last ASCII art program, so I decided to do another one. This one’s a friend to beginning computer science majors everywhere: it animates sorting algorithms.

Losing Sleep

Lately I’ve been, I’ve been losing sleep
Lying and wondering what you’d think of me
You know I know you might take it pretty hard
But we’re past counting blows now
We’ve only come so far

This light has bought us borrowed time
Spool my heart out on a line
But if this is the end that’s fine
I’ll pay the price and get what’s mine

Oh, but are we now old?
Lies, if the truth be told
Cause all that glitters is not gold
And sometimes you just have to fold

I, I, I feel something so right doing…

The Ushiromiya Cousins

Taking it easy for NaCreSoMo today with another sketch (from reference) of the rest of the Ushiromiya cousins from 「うみねこのく頃に」.