bruit.py

created by vincent-labbe

created on June 21, 2018

234 Bytes

Affiche des points aléatoires.


from math import *
from kandinsky import *
from random import *
for i in range(50000):
  r=randint(0,255)
  g=randint(0,255)
  b=randint(0,255)
  col=color(r,g,b)
  x=randint(0,320)
  y=randint(0,240)
  set_pixel(x,y,col)