# Casio F-91W watch becomes an interactive statechart demo

Original title: Casio F-91W using Statecharts

> Hacker News story 50059094 · language: en · submitted 2026-10-12
> Web version: https://zeli.app/story/50059094
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 42 · by [austinallegro](<https://news.ycombinator.com/user?id=austinallegro>) · 💬 9
[original](<https://github.com/dundalek/casio-f91w-fsm>) · [HN discussion](<https://news.ycombinator.com/item?id=50059094>)

## Summary

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.

## Key quote

> 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.

## HN discussion (9 comments)

### [helterskelter2](<https://news.ycombinator.com/item?id=50114877>)

> 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](<https://news.ycombinator.com/item?id=50114949>)

> 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](<https://news.ycombinator.com/item?id=50116172>)

> It renders funny on Firefox mobile for iOS.

---

## Cite

- Page: https://zeli.app/story/50059094
- Date: 2026-10-12
- Source: github.com (https://github.com/dundalek/casio-f91w-fsm)
- Hacker News: https://news.ycombinator.com/item?id=50059094

## Other languages

- zh: https://zeli.app/zh/story/50059094 · markdown: https://zeli.app/zh/story/50059094.md
- ja: https://zeli.app/ja/story/50059094 · markdown: https://zeli.app/ja/story/50059094.md
- ko: https://zeli.app/ko/story/50059094 · markdown: https://zeli.app/ko/story/50059094.md
- de: https://zeli.app/de/story/50059094 · markdown: https://zeli.app/de/story/50059094.md
- es: https://zeli.app/es/story/50059094 · markdown: https://zeli.app/es/story/50059094.md
- ru: https://zeli.app/ru/story/50059094 · markdown: https://zeli.app/ru/story/50059094.md
