Pygame stuttering on Replit but not on local computer

I am in the process of creating some Pygame examples for upcoming lessons in my programming class.

I have noticed that when I run a Pygame program on Replit (just a rectangular shape moving across the screen) the animation stutters. I have tried this in multiple web browsers and on different computers (Windows and Mac) with the same result.

However, when I run the same Pygame script on my computer locally, it runs smooth.

Is Replit capable of displaying Pygame animations smoothly?

I really would like to keep using Replit for all my assignments, but I seems I may have to do things differently when I do the Pygame lessons.

Hi @mrfoots I think I have a solution for you! Could you email me at lena@replit.com and we can get you and your students set up?