Question: Connect two points of a segment with animation

Hello. How to connect 2 point of segment with animation? I know only one way to do this. We need connect P and Q. We need to create intermediate points like:

for i from 1 to 100

It seems to me that this option consumes a lot of resources.

Is there another way to do this with the Maple?

Please Wait...