The program show two balls moving across the window.
The UI window has size 1920x1080
The program uses a lot of memory. If the balls stop moving then the UI has frozen. Simply close the UI.
Watch the terminal window during execution.
The program stops when both balls have moved outside of the UI.