Fitts and Hick calculator
calc_fitts_hickEstimate movement time with Fitts's law (Shannon form: a + b * log2(distance / width + 1)) and decision time with the Hick-Hyman law (a + b * log2(choices + 1)). Pass distance and width for one target, choices for a choice set, and/or layouts: 2 or 3 layouts, each {name, targets: [{label, distance, width}], choices} to compare total time. Constants are configurable with fitts_a, fitts_b, hick_a, hick_b (milliseconds; defaults a=100, b=150 for pointing and a=200, b=150 for choice, typical illustrative values). These are models: the defaults are not measured on your users, so use results to compare layouts, not to predict seconds. Sources: Fitts 1954, MacKenzie's Shannon formulation, Hick 1952, Hyman 1953, as context in Cooper's About Face and Norman. Constants and laws are stated from general knowledge, not verified against the design library.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calc_fitts_hick"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Target width along the movement line, same unit. | |
| hick_a | No | Hick intercept in ms. Default 200. | |
| hick_b | No | Hick slope in ms per bit. Default 150. | |
| choices | No | Number of equally likely choices. | |
| fitts_a | No | Fitts intercept in ms. Default 100. | |
| fitts_b | No | Fitts slope in ms per bit. Default 150. | |
| layouts | No | 2 or 3 layouts to compare. | |
| distance | No | Distance to target along the movement line, any consistent unit. |