I am trying to make a color scheme that fades into itself, but if i set the window size over 256*2096, it will not start the animation of the colors. Is this just a me problem, or is there a limit to a window size?
import pygame
pygame.init()
window = pygame.display.set_mode([256, 2096])
x=0
y=0
r=0
g=0
b=0
drawing=True
#changes and draws the colors
for i in range(256*2096):
pygame.draw.circle(window,(r,g,b),(x,y),1)
x+=1
if x==256:
x=0
y+=1
b+=1
if b==256:
b=0
g+=1
if g==256:
g=0
r+=1
if i%256==0:
pygame.display.flip()
pygame.display.flip()
input()
The result should be blending colors I get a result of nothing displaying over 2096