Methods for a touchscreen-based hand dexterity test are provided. In one aspect, a method includes providing for display, on a touchscreen, a model path. The method also includes receiving, from the touchscreen, a plurality of user touch points. The method also includes fitting the plurality of user touch points to a user path. The method also includes sampling an array of user points along the user path and sampling an array of model points along the model path. The method also includes associating each model point in the array of model points with a corresponding user point in the array of user points, wherein the associating enforces a perpendicularity constraint. The method also includes determining a test result based on the associating. Systems and machine-readable media are also provided.