A primitive but functioning approach.
I'm trying to flesh out this idea but have nothing worth posting right now.