1. A program that generates an image in which a moving object slides down a slope according to an inclination of a controller, the program causing a computer to function as: an information acquisition section that acquires inclination information that indicates an inclination of the controller based on a detection result of a detection section that detects information that changes according to an inclination of the controller; a shift angle calculation section that calculates a shift angle based on a magnitude of a velocity vector of the moving object and the inclination information, and calculates a direction of the moving object on the slope based on the shift angle and a direction of the velocity vector of the moving object; a first force vector calculation section that calculates a first force vector in a direction intersecting at right angles on the slope with the direction of the moving object on the slope based on the inclination information; a second force vector calculation section that calculates a second force vector based on a slope angle of the slope; a resultant force vector calculation section that calculates a resultant force vector by combining the first force vector and the second force vector; an update section that updates the velocity vector of the moving object based on the resultant force vector, and updates a position of the moving object based on the updated velocity vector; and an image generation section that generates an image including the moving object.