Writing Machine Directory/statemachines: Difference between revisions
No edit summary |
No edit summary |
||
| (11 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<h1>Writing-Machines/State-Machines</h1> | <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. | |||
<div class="box"> | <div class="box"> | ||
<div class=noprint> | <div class=noprint> | ||
| Line 7: | Line 7: | ||
outcomes of the day can be found here: https://hub.xpub.nl/sergio/state-writing-machines | outcomes of the day can be found here: https://hub.xpub.nl/sergio/state-writing-machines | ||
</div> | </div> | ||
== Aquarium Conversation Simulator == | |||
== | |||
<div style="display: flex; flex-wrap: wrap; max-width: 100%; justify-content: left;"> | <div style="display: flex; flex-wrap: wrap; max-width: 100%; justify-content: left;"> | ||
[[File:Aquarium-conversation-simulator-20250923.jpg|Aquarium-conversation]] | |||
</div> | </div> | ||
<div style="display: flex; justify-content: left;"> | == Nod-Blink-Yawn State Machine == | ||
[[File:LeaLuca-statemachine.svg | <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> | </div> | ||
== State Machine 2 == | |||
<syntaxhighlight lang="graphviz"> | <syntaxhighlight lang="graphviz"> | ||
igraph { | igraph { | ||
label="Youjung and Barbara's writing machine ( ^a ) ^a " | label="Youjung and Barbara's writing machine | ||
( ^a ) ^a " | |||
labelloc="t" | labelloc="t" | ||
speaker [shape=doublecircle]; | speaker [shape=doublecircle]; | ||
listener [shape=doublecircle label="listener\n ^v ( ^` ^m ^` ) ^v "]; | listener [shape=doublecircle label="listener\n ^v | ||
( ^` ^m ^` ) ^v "]; | |||
input [shape=plaintext] | input [shape=plaintext] | ||
output [shape=plaintext] | output [shape=plaintext] | ||
rankdir=LR; | rankdir=LR; | ||
input -> speaker | input -> speaker | ||
speaker -> listener [label="quietly say the sentence"] | speaker -> listener [label="quietly say | ||
the sentence"] | |||
speaker -> speaker [label="I said..."] | speaker -> speaker [label="I said..."] | ||
listener -> output | listener -> output | ||
listener -> speaker [label="Pardon?"] | listener -> speaker [label="Pardon?"] | ||
} | } | ||
</div> | </div> | ||
</syntaxhighlight><div style="display: flex; justify-content: left;"> | |||
<div style="display: flex; justify-content: left;"> | [[File:Writingmachineyb.png|alt=Barbara and Youjung's Writing Machine|Barbara and Youjung's Writing Machine|left]] | ||
[[File:Writingmachineyb.png|alt=Barbara and Youjung's Writing Machine | |||
</div> | </div> | ||
== State Machine 3 == | |||
<div style="display: flex; justify-content: left;"> | <div style="display: flex; justify-content: left;"> | ||
[[File:greyandemasfirststatemachine.svg|alt=Robin&Ema's Writing Machine | [[File:greyandemasfirststatemachine.svg|alt=Robin&Ema's Writing Machine|Robin&Ema's Writing Machine|left]] | ||
</div> | </div> | ||
== State Machine 4 == | |||
<div style="display: flex; justify-content: left;"> | <div style="display: flex; justify-content: left;"> | ||
[[File:Bart_daan_machine.svg|Bart and Daan's writing machine | [[File:Bart_daan_machine.svg|Bart and Daan's writing machine|left]] | ||
</div> | </div> | ||
== State Machine 5 == | |||
<div style="display: flex; justify-content: left;"> | <div style="display: flex; justify-content: left;"> | ||
[[File:Sibyl, Kiki, Tommi's writing machines.svg|Sibyl, Kiki, Tommi's writing machines | [[File:Sibyl, Kiki, Tommi's writing machines.svg|Sibyl, Kiki, Tommi's writing machines|left]] | ||
</div> | </div> | ||
[[Category: Writing Machines]] | [[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>

