As a suggestion for improvement, consider allowing the learner to edit the formulas which represent the figures and have the figures update. Additionally editing the figures could update the formula in real time.
This sort of bi-directional instant feedback will aid the understanding and engagement of the learner better than figure manipulation alone.
Sounds like a good idea - one of the main ways I learned programming... and still wind up doing all the time is to just copy examples and hack them into shape, understanding what's necessary, what's not and how they'll respond to different parameters via experimentation.
As a suggestion for improvement, consider allowing the learner to edit the formulas which represent the figures and have the figures update. Additionally editing the figures could update the formula in real time.
This sort of bi-directional instant feedback will aid the understanding and engagement of the learner better than figure manipulation alone.