infinite.py

Created by elnix91

Created on November 25, 2023

214 Bytes

Ce programme utilise le module graphique kandinsky pour créer une animation visuelle captivante sur l’écran de votre calculatrice. Il génère un effet artistique où une bande verte se rétrécit progressivement vers le centre de l’écran, créant un mouvement de convergence saisissant.


from kandinsky import fill_rect as f
f(0,0,320,222,(0,0,0))
for x in range(160,0,-1):
  for i in range(x):f(160+i,0,1,222,(0,255-255//x*i,0))
  for i in range(x):f(160-i,0,-1,222,(0,255-255//x*i,0))

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.