I'm trying animate a parametric plot without having to specify the range of the function variables, which will be done later on in a bigger animation. Here's my code:
x1[t_] := Sin[t]
y1[t_] := -Cos[t]
angle[t_] := Graphics[{Line[{{0, 0}, {x1[t], y1[t]}}]}];
tip[t_] := Graphics[{Disk[{x1[t], y1[t]}, 0.1]}]
frame = Graphics[{Line[{{-2, 2}, {-2, -2}, {2, -2}, {2, 2}, {2, 2}}]}];
path = ParametricPlot[{x1[t], y1[t]}, {t, 0, 10}];
Animate[
Show[path, frame, angle[t], tip[t]],
{t, 0, 10}, AnimationRunning -> False]
My problem is that I have to specify the range twice here and it's showing the full path of the ball instead of generating it dynamically.