Riding a unicycle and coding are not complementary activities - you are multitasking. Writing is aligning different parts of your brain to the same task, perhaps it is just creating additional focus.
I'm sure if you drove the unicycle through a trough of paint and then used it to make words you'd have a similar experience.
This is nowhere near the same as doing to completely unrelated activities at the same time.