Interesting idea - I wasn't entirely sure what was happening, but I think I made some progress.
Good job :)