Comment Was done in the 90s (Score 1) 123
This exact thing was done by Josh Smith at MIT in the 90s (see Geocities era page here ). His work was commercialized by Motorolla in their e-field sensing chip.
The flow chart is a most thoroughly oversold piece of program documentation. -- Frederick Brooks, "The Mythical Man Month"