Projectile motion up an incline

A simulation of firing a projectile at different angles up an incline in order to maximise the range up the hill.
What is the best angle to fire the ball at when the slope is flat? What about when you increase the slope? What about if you decrease the slope? Remember to animate 't' to see the ball fired