Casio F-91W watch becomes an interactive statechart demo
Casio F-91W using Statecharts

This project builds an interactive model of the iconic Casio F-91W watch using statecharts, the visual formalism introduced by David Harel in 1987. Harel's original paper used a digital wristwatch as an example, but that specific watch is now rare. The demo uses XState and the Stately visualizer to show states and transitions side by side, building on Alexis Philip's digitized graphics. It includes limitations like no alarm triggering and differences in date/time setting.
Statecharts are an extension of state machines, introduced by David Harel in 1987. In the paper, Harel used a digital wristwatch as an example model.
- helterskelter2
This is funny, I just ordered a FOSS replacement movement for the F91W, which, with a few calibrations spread out over a few months, can achieve an accuracy of <15s/yr (it also has an accelerometer and a thermometer built in). I was planning on writing some astronomy and navigation apps for it
If anybody is interested:
https://www.crowdsupply.com/oddly-specific-objects/sensor-wa...
- hizlikovboy27
This is great. did you leave out the alarm ringing and the continuous increment when holding the A button because they were hard to model or just to keep the demo simple?
- rickcarlino
It renders funny on Firefox mobile for iOS.