Shading parts of the screen using a bouncing ball and a simpler version of quadtrees