kopia lustrzana https://github.com/villares/sketch-a-day
				
				
				
			
			
			
			
				main
			
			
		
		
							rodzic
							
								
									c3388e8370
								
							
						
					
					
						commit
						b234dc1bba
					
				
										
											Plik binarny nie jest wyświetlany.
										
									
								
							| 
		 Po Szerokość: | Wysokość: | Rozmiar: 29 KiB  | 
										
											Plik binarny nie jest wyświetlany.
										
									
								
							| 
		 Po Szerokość: | Wysokość: | Rozmiar: 26 KiB  | 
										
											Plik binarny nie jest wyświetlany.
										
									
								
							| 
		 Po Szerokość: | Wysokość: | Rozmiar: 28 KiB  | 
										
											Plik binarny nie jest wyświetlany.
										
									
								
							| 
		 Po Szerokość: | Wysokość: | Rozmiar: 30 KiB  | 
| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
#つぶやきProcessing
 | 
			
		||||
d,s,m=12,512,255
 | 
			
		||||
def setup():size(s,s);clear();stroke(m)
 | 
			
		||||
def draw():
 | 
			
		||||
 f=frameCount
 | 
			
		||||
 for _ in range(d):
 | 
			
		||||
  translate(m,m)
 | 
			
		||||
  rotate(TWO_PI/d)
 | 
			
		||||
  translate(-m,-m)
 | 
			
		||||
  n = noise(f*0.01)
 | 
			
		||||
  point(f%s,n*s)
 | 
			
		||||
 | 
			
		||||
def keyPressed():
 | 
			
		||||
 if key == ' ':
 | 
			
		||||
  clear()
 | 
			
		||||
 if key == 's':
 | 
			
		||||
  saveFrame("###.png")
 | 
			
		||||
		Ładowanie…
	
		Reference in New Issue