Documentation

Function from library pytamaro
Side Effects

show_animation(graphics)

show_animationgraphics

Show a sequence of graphics as an animation (GIF).

Graphics are sequentially reproduced (normally at 25 frames per second) in a loop (unless specificied otherwise).

graphicslist of graphics to be shown as an animation

Code
show_animation([rectangle(50, 50, hsv_color(hue, 1, 1)) for hue in range(360)])
Output
Graphical output from execution result

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 51a7c2e (Tue, 22 Apr 2025 08:35:06 GMT)