Damn. Would you be able to make a browser version?
No. The Browser don't allow to read phone sensor data.