Im making a crappy off-brand of paint in pygame.
One problem I have run into is that it is hilariously inefficient.
With only a 500 by 500 picture it runs at like 14 FPS.
The picture is stored as a list with like this:
pic = [[white,white,white],[white,white,white],[white,white,white]]
and the code that displays it is:
def display(pic):
for y in range(500):
for x in range(500):
screen.set_at((x,y),pic[y][x])
how would i make this work and be efficient.