Translations:Development/Tutorials/Physical Simulation/92/en

From KDE TechBase

The total window height is 600, drawing the floor requires 25, therefore, 575-position gives the bottom coordinate. The ball has twice the radius diameter. Since the y-coordinates count from the top side, we have to use a minus again.