// Animation du chat photographe frame = 0; total_frames = 20; for (i = 0; i < total_frames; i++) { frames[i] = Image("frame-" + String(i).PadLeft(4, "0") + ".png"); } bg = Image("background.png"); fun refresh_callback() { bg.Draw(0, 0); frames[frame].Draw(0, 0); frame = (frame + 1) % total_frames; } Plymouth.SetRefreshFunction(refresh_callback); Plymouth.SetRefreshRate(5);