A couple of weeks ago, I posted an #animation of a point on a circle generating a #cycloid.
If you turn the curve "upside down", you get the #BrachistochroneCurve. This curve provides the shortest travel time starting from one cusp to any other point on the curve for a ball rolling under uniform #gravity. It is always faster than the straight-line travel time. This is an interesting problem in #ClassicalMechanics and exercised luminaries like #Newton and #Euler. I think the latter's use of the #CalculusOfVariations is a stroke of genius.
Anyway, the #animation took a bit of thought as it requires a bit of #Mechanics, some #Integration and is made a bit more tricky as the curve is multi-valued and so you need to treat different branches separately. The #AnimatedGif was produce with #WxMaxima.