load(draw);
draw(
terminal = 'animated_gif,
file_name = "/..Pfad.../Dateiname"
dimensions=[300,300],
delay = 100,
makelist(gr2d(
explicit(x^k,x,-1,1),
yrange = [-1,1],
label([string(x^k),0,-0.5])
),k,20)
);