Alexandre B A Villares 2020-07-08 13:50:21 -03:00
rodzic 792b51180e
commit 03ecdb55dc
2 zmienionych plików z 11 dodań i 0 usunięć

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 2.0 MiB

Wyświetl plik

@ -0,0 +1,11 @@
n,m,s=64,255,8 #つぶやきProcessing
def setup():size(n*s,n*s);frameRate(1);colorMode(3)
def draw():
clear();f=frameCount
for x in range(n):
c=long(abs(-4*f%n+x^n*f%n-x)**9.9)
for y in range(n):
if format(c,'064b')[y]=='1':fill((y+c)%m,m,m);square(x*s,y*s,s*2)
# print(f, c)