This is a demonstration of how you can get a ball to bounce around a complicated area by color coding the walls. This is simple provided the walls are horizontal or vertical.