[Cuis-dev] Object wantsSteps
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Mon Mar 27 06:15:26 PDT 2023
On 2023-03-27 05:51, Alexandre Rousseau via Cuis-dev wrote:
> Thanks! I feel though that threads could be overkill for my needs (I'm
> probably biased as an Elixir -- light processes etc -- dev) ?
>
> - I have a TrafficLightFSM (cycling through, say, #red #green #yellow
> states).
> - This fsm aka model is observed by a TrafficLightMorph, a
> WalkPrompterMorph, a CountdownMorph, and others.
> - I would like to keep the timing of transitions from one state to the
> next inside the model.
>
> Creating/finding a TimerMorph acting as controller of my model could
> work, but I was wondering if there was a canonical way for such needs.
>
Morphic/Examples-Morphic.pck.st has Animator examples. Note
BlueButterfly.
HTH,
-KenD
More information about the Cuis-dev
mailing list