Woah, this is really cool! I'm actually working on a very similar base mechanic for my games magic system, it's really interesting to get to see a similar concept in action!!
Thanks, happy if it can help you for your game!