Research Article
A Study of Physical Fitness and Enjoyment on Virtual Running for Exergames
Algorithm 1
ArmSwing virtual running.
Data:LHandT rigger, RHandT rigger,, , and as trigger controllers and | position of left hand, right hand, and head, respectively. | Result: Locomotion by arm swinging applied on . | begin | , , swing range, acceleration, inertia | forframe i =1toNdo | ifLHandTrigger is TrueandRHandTrigger is Truethen | | | | ifthen | | else | | else | |
|