Skip to content

Commit

Permalink
thought about scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrincoveanu committed Mar 2, 2022
1 parent be89b9f commit 6855008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
if columns[i] > 30 + random.random() * 2000:
columns[i] = 0
s = pygame.Surface((WIDTH, HEIGHT))
s.set_alpha(3)
s.set_alpha(7)
s.fill((0, 0, 0))
screen.blit(s, (0, 0))
pygame.display.update()
# scaled = pygame.transform.smoothscale(screen, (WIDTH + 1, HEIGHT + 1))
# screen.blit(scaled, (-1, -1))

0 comments on commit 6855008

Please sign in to comment.