Imagine three isosceles triangles with coordinates of each stored in a matrix such as:
and plotted together as follows (only the first is shown)
I want to create an animation with stationary (original) isosceles triangles in the background along with new isosceles triangles generated by incrementally (say 4 increments) moving only the apex of each triangle until it touches the base of the triangle; obtained by multiplying the apex’s vertical coordinate by (say ¼) in each increment using a do loop.
Your help is greatly appreciated.
Thank you in advance.