So my program draws beautiful geometrical structures that depend on many variables.
At the moment you can choose the value of those variables in the menu and enjoy the sight of one of those structures each time.
But I would like to add a new feature. A button that makes the use able to see how that structure changes over time by increasing the value of a variable each time it gets drawn For this I need to re-draw everything with the new variables.
What I mean is, I need to start with some values and draw the beautiful thing, then I need it to be undrawn and then to be able to draw another one again but with the value increased a little bit, so you can see how you can go from one figure to another.
I'll show you pictures to illustrate you:
For example, from the top one, to the bottom one. The first one has a value of 2/100 and the second one has a value of 17.6/100
So if you increase the first number bit by bit, you will be able to see the image transform from one to another.
I would need a way to undraw-redraw with changed values, to choose the rate of change and the speed that it changes, and a way to change the colors bit by bit like a rainbow.
Is there a way of doing any of these things?