polygons!
edit: got to level 10 with this approach before giving up. basically, bound the ball into an area towards the goal as soon as it gets there by enclosing it in a polygon. as long as you keep getting it closer, you eventually get it into a polygon with the target - it works out. It will even pretty much guarantee the ball eventually goes through small gaps it needs to to pass through one polygon to another
Seems like a good explanation for how gases work.