Documentation

Function defined in library pytamaro.fr
Side Effects

sauvegarde_animation(nom_fichier, graphiques)

sauvegarde_animationnom_fichiergraphiques

Sauvegarde une séquence de graphiques en tant qu’animation (GIF).

Les graphiques sont reproduits de manière séquentielle (normalement à 25 images par secondes) en boucle (à moins que ça ne soit indiqué autrement).

nom_fichierle nom du fichier à créer (contenant l’extension “.gif”)

graphiquesla liste des graphiques à sauvegarder en tant qu’animation.

Code
sauvegarde_animation('colors.gif', [rectangle(50, 50, couleur_hsv(teinte, 1, 1)) for teinte in range(360)])

Logo of PyTamaro

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

Privacy PolicyPlatform Version 0a56f08d (Wed, 29 Apr 2026 08:58:46 GMT)