Writing Machine Directory/statemachines: Difference between revisions
No edit summary |
No edit summary |
||
| (27 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<h1>Writing-Machines/State-Machines</h1> | |||
A state machine is a behavior model. Multiple states are connected through transitions and have accepting and non-accepting states. Based on the current state and a given input the machine performs state transitions and produces outputs. These state machines were made during class. | |||
<h1>Writing-Machines / State-Machines</h1> | |||
<div class="box"> | <div class="box"> | ||
<div class=noprint> | |||
State Writing Machines made during [[Prototyping/2025-2026/T1#SESSION_1|prototyping on 23 September]]''<br> | |||
using [[:File:Prototyping_20250923_state_machines.pdf]] and [[Graphviz]] | |||
outcomes of the day can be found here: https://hub.xpub.nl/sergio/state-writing-machines | |||
</div> | |||
== Aquarium Conversation Simulator == | |||
<div style="display: flex; flex-wrap: wrap; max-width: 100%; justify-content: left;"> | |||
[[File:Aquarium-conversation-simulator-20250923.jpg|Aquarium-conversation]] | |||
</div> | |||
== Nod-Blink-Yawn State Machine == | |||
<div style="white-space: pre-wrap;"> | |||
<syntaxhighlight> | |||
> in | |||
to give a touch of human warmth | |||
to our schematic demonstration | |||
Clara van Bloemendaal is the dragon of Arnhem | |||
> | |||
touch | |||
> | |||
NOD | |||
> | |||
TURN OPPOSITE x4 | |||
> | |||
touch Clara | |||
> | |||
touch Clara has | |||
> | |||
touch Clara has to do with | |||
> | |||
touch Clara has to do with straightforward | |||
> | |||
touch Clara has to do with straightforward dragon | |||
> | |||
touch Clara has to do with straightforward dragon | |||
> out | |||
</div> | |||
</syntaxhighlight><div style="display: flex; justify-content: left;"> | |||
[[File:LeaLuca-statemachine.svg]] | |||
</div> | |||
== State Machine 2 == | |||
<syntaxhighlight lang="graphviz"> | |||
igraph { | igraph { | ||
label="Youjung and Barbara's writing machine | |||
( ^a ) ^a " | |||
labelloc="t" | |||
speaker [shape=doublecircle]; | |||
listener [shape=doublecircle label="listener\n ^v | |||
( ^` ^m ^` ) ^v "]; | |||
input [shape=plaintext] | |||
output [shape=plaintext] | |||
rankdir=LR; | |||
input -> speaker | |||
speaker -> listener [label="quietly say | |||
the sentence"] | |||
speaker -> speaker [label="I said..."] | |||
listener -> output | |||
listener -> speaker [label="Pardon?"] | |||
} | } | ||
</div> | |||
</syntaxhighlight><div style="display: flex; justify-content: left;"> | |||
[[File:Writingmachineyb.png|alt=Barbara and Youjung's Writing Machine|Barbara and Youjung's Writing Machine|left]] | |||
</div> | |||
== State Machine 3 == | |||
<div style="display: flex; justify-content: left;"> | |||
[[File:greyandemasfirststatemachine.svg|alt=Robin&Ema's Writing Machine|Robin&Ema's Writing Machine|left]] | |||
</div> | |||
== State Machine 4 == | |||
<div style="display: flex; justify-content: left;"> | |||
[[File:Bart_daan_machine.svg|Bart and Daan's writing machine|left]] | |||
</div> | |||
== State Machine 5 == | |||
<div style="display: flex; justify-content: left;"> | |||
[[File:Sibyl, Kiki, Tommi's writing machines.svg|Sibyl, Kiki, Tommi's writing machines|left]] | |||
</div> | </div> | ||
[[Category: Writing Machines]] | |||
Latest revision as of 15:03, 9 December 2025
Writing-Machines/State-Machines
A state machine is a behavior model. Multiple states are connected through transitions and have accepting and non-accepting states. Based on the current state and a given input the machine performs state transitions and produces outputs. These state machines were made during class.
Aquarium Conversation Simulator
Nod-Blink-Yawn State Machine
> in
to give a touch of human warmth
to our schematic demonstration
Clara van Bloemendaal is the dragon of Arnhem
>
touch
>
NOD
>
TURN OPPOSITE x4
>
touch Clara
>
touch Clara has
>
touch Clara has to do with
>
touch Clara has to do with straightforward
>
touch Clara has to do with straightforward dragon
>
touch Clara has to do with straightforward dragon
> out
</div>State Machine 2
igraph {
label="Youjung and Barbara's writing machine
( ^a ) ^a "
labelloc="t"
speaker [shape=doublecircle];
listener [shape=doublecircle label="listener\n ^v
( ^` ^m ^` ) ^v "];
input [shape=plaintext]
output [shape=plaintext]
rankdir=LR;
input -> speaker
speaker -> listener [label="quietly say
the sentence"]
speaker -> speaker [label="I said..."]
listener -> output
listener -> speaker [label="Pardon?"]
}
</div>

