Ah, got me hooked readying the rest of the post with the "BGI and BASIC’s painting commands" reference. :)
Great overview of the whole approach you took there.