Program, the electronic device, and method
Provided is a program capable of improving operability when controlling an operation target object in a virtual space. The present invention is a program executed in an electronic device, wherein the electronic device acquires a value of a first axis and a second value acquired based on a touch event generated by a user operation on the touch panel. The step of holding the data point indicated by the value of the axis, the step of ending the holding of the held data points that have exceeded the predetermined holding time, and the regression based on the held data points Determining a slope of the straight line; determining a rotation amount for rotating the slope of the regression line determined based on the displacement direction as a set of retained data points; and determining the slope of the determined regression line and A step of determining an angle for the user to control the operation target object in the virtual space based on the determined rotation amount , To the execution.
Full Text: Google Patents