Compare commits
No commits in common. 'e3f85d16ea09cb3502a21e2d1c92c678d08973e0' and 'd706c7e18e22ce08c18e061864e046ed2e00e577' have entirely different histories.
e3f85d16ea
...
d706c7e18e
@ -1,13 +0,0 @@
|
||||
import pygame,sys
|
||||
import math
|
||||
pygame.init()
|
||||
screen = pygame.display.set_mode([640,480])
|
||||
screen.fill([249,204,226])
|
||||
for x in range(0,640):
|
||||
y = int(math.sin(x/640.0*4*math.pi)*200+240)
|
||||
pygame.draw.rect(screen,[0,0,0],[x,y,1,1],1)
|
||||
pygame.display.flip()
|
||||
while True:
|
||||
for event in pygame.event.get():
|
||||
if event.type == pygame.QUIT:
|
||||
sys.exit()
|
Loading…
Reference in new issue