Virtual environment design. The design of a virtual living room is illustrated. The virtual arm animates the patient's arm movement in real time. The patient can explore the virtual environment and perform the goal-directed reaching task. The green line indicates the ideal trajectory. The cone shape constrains the spatial error of endpoint position and provides direct knowledge of performance .