summaryrefslogtreecommitdiff
path: root/design/mock/06-title-legend.svg
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 12:01:16 -0300
committerGabriel Schneider <[email protected]>2026-11-10 12:07:12 -0300
commitaf2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89 (patch)
treeeb455143013fa1b1278ae246676153205d9a3f17 /design/mock/06-title-legend.svg
parenta0ca9a0bfa76cd2d04502b7f341cba5153f51899 (diff)
downloadcomputeranim-af2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89.tar.gz
computeranim-af2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89.zip
design: the visual system canim follows, with eight mock frames
Lapis page and vellum ink; a role is a form as well as a colour (current, write, read, pointer, allocated, freed, fault, kernel); panels as acme windows; Go Mono for the machine and Go for the narrator; motion as whole frames at 60 fps. design/mock/gen.py redraws the mocks from the tokens.
Diffstat (limited to 'design/mock/06-title-legend.svg')
-rw-r--r--design/mock/06-title-legend.svg79
1 files changed, 79 insertions, 0 deletions
diff --git a/design/mock/06-title-legend.svg b/design/mock/06-title-legend.svg
new file mode 100644
index 0000000..8e57394
--- /dev/null
+++ b/design/mock/06-title-legend.svg
@@ -0,0 +1,79 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080">
+<defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs>
+<rect width="1920" height="1080" fill="#0a1030"/>
+<rect x="64.0" y="150.0" width="24.0" height="24.0" fill="#e8c46a"/>
+<text x="108.0" y="172.0" font-family="Go Medium" font-size="30" fill="#9aa6d9" xml:space="preserve">How programs really run</text>
+<text x="1856.0" y="172.0" font-family="Go Medium" font-size="30" fill="#6a7ab8" xml:space="preserve" text-anchor="end">part 3</text>
+<text x="60.0" y="330.0" font-family="Go" font-size="116" fill="#fff8e8" xml:space="preserve" font-weight="bold">Where does malloc</text>
+<text x="60.0" y="458.0" font-family="Go" font-size="116" fill="#fff8e8" xml:space="preserve" font-weight="bold">keep its notes?</text>
+<text x="64.0" y="540.0" font-size="44" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#9aa6d9">glibc and musl, one </tspan><tspan font-family="Go Mono" font-weight="normal" fill="#eee6d2" font-size="38">free()</tspan><tspan font-family="Go" font-weight="normal" fill="#9aa6d9"> at a time</tspan></text>
+<rect x="64.0" y="624.0" width="1792.0" height="48.0" fill="#16245f"/>
+<rect x="65.0" y="625.0" width="1790.0" height="262.0" fill="none" stroke="#3a4a8a" stroke-width="2"/>
+<line x1="64.0" y1="672.0" x2="1856.0" y2="672.0" stroke="#3a4a8a" stroke-width="2"/>
+<rect x="79.0" y="639.0" width="18.0" height="18.0" fill="none" stroke="#6a7ab8" stroke-width="2"/>
+<text x="112.0" y="658.0" font-family="Go Medium" font-size="28" fill="#9aa6d9" xml:space="preserve">legend</text>
+<text x="1840.0" y="656.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">the same marks in every picture</text>
+<rect x="88.0" y="706.0" width="94.0" height="46.0" fill="#e8c46a"/>
+<text x="108.0 126.0 144.0" y="739.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">rip</text>
+<text x="198.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">current</text>
+<text x="198.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">executing now</text>
+<rect x="380.0" y="706.0" width="46.0" height="46.0" fill="#ff6a4a"/>
+<text x="385.0 403.0" y="739.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">2a</text>
+<rect x="428.0" y="706.0" width="46.0" height="46.0" fill="#ff6a4a"/>
+<text x="433.0 451.0" y="739.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">00</text>
+<text x="490.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">written</text>
+<text x="490.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">by this step</text>
+<rect x="672.0" y="706.0" width="46.0" height="46.0" fill="#5a2218"/>
+<rect x="672.0" y="746.0" width="46.0" height="6.0" fill="#ff6a4a"/>
+<text x="677.0 695.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2a</text>
+<rect x="720.0" y="706.0" width="46.0" height="46.0" fill="#5a2218"/>
+<rect x="720.0" y="746.0" width="46.0" height="6.0" fill="#ff6a4a"/>
+<text x="725.0 743.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">00</text>
+<text x="782.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">changed</text>
+<text x="782.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">a moment ago</text>
+<rect x="964.0" y="706.0" width="46.0" height="46.0" fill="#1c4652"/>
+<rect x="965.5" y="707.5" width="43.0" height="43.0" fill="none" stroke="#6fd6e6" stroke-width="3"/>
+<text x="969.0 987.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2a</text>
+<rect x="1012.0" y="706.0" width="46.0" height="46.0" fill="#1c4652"/>
+<rect x="1013.5" y="707.5" width="43.0" height="43.0" fill="none" stroke="#6fd6e6" stroke-width="3"/>
+<text x="1017.0 1035.0" y="739.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">00</text>
+<text x="1074.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">read</text>
+<text x="1074.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">by this step</text>
+<rect x="1256.0" y="706.0" width="34.0" height="46.0" fill="#16245f"/>
+<rect x="1252.0" y="702.0" width="42.0" height="54.0" fill="none" stroke="#d59cf5" stroke-width="4"/>
+<path d="M1296.0,729.0 L1334.0,729.0" fill="none" stroke="#d59cf5" stroke-width="4" stroke-linejoin="round" stroke-linecap="butt"/>
+<path d="M1350.0,729.0 L1332.0,737.0 L1332.0,721.0 Z" fill="#d59cf5"/>
+<text x="1366.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">pointer</text>
+<text x="1366.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">an address</text>
+<path d="M1548.0,729.0 L1628.0,729.0" fill="none" stroke="#eee6d2" stroke-width="3" stroke-linejoin="round" stroke-linecap="butt"/>
+<path d="M1642.0,729.0 L1626.0,736.0 L1626.0,722.0 Z" fill="#eee6d2"/>
+<text x="1658.0" y="724.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">moving</text>
+<text x="1658.0" y="754.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">in transit</text>
+<rect x="88.0" y="802.0" width="94.0" height="46.0" fill="#1f4a33"/>
+<rect x="89.5" y="803.5" width="91.0" height="43.0" fill="none" stroke="#7fdc9a" stroke-width="3"/>
+<text x="198.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">allocated</text>
+<text x="198.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">handed out</text>
+<rect x="380.0" y="802.0" width="94.0" height="46.0" fill="url(#hatch)"/>
+<rect x="381.5" y="803.5" width="91.0" height="43.0" fill="none" stroke="#9aa6d9" stroke-width="3" stroke-dasharray="12 8"/>
+<text x="490.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">freed</text>
+<text x="490.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">handed back</text>
+<rect x="684.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/>
+<rect x="700.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/>
+<rect x="732.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/>
+<rect x="748.0" y="822.0" width="6.0" height="6.0" fill="#6a7ab8"/>
+<text x="782.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">not seen</text>
+<text x="782.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">never observed</text>
+<rect x="964.0" y="802.0" width="94.0" height="46.0" fill="#eee6d2"/>
+<text x="984.0 1002.0 1020.0" y="835.8" font-family="Go Mono" font-size="30" fill="#0a1030" xml:space="preserve" font-weight="bold">sys</text>
+<text x="1074.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">kernel</text>
+<text x="1074.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">the other side</text>
+<rect x="1256.0" y="802.0" width="94.0" height="46.0" fill="url(#hazard)"/>
+<rect x="1264.0" y="810.0" width="78.0" height="30.0" fill="#050a24"/>
+<text x="1273.0 1288.0 1303.0 1318.0" y="834.0" font-family="Go Mono" font-size="25" fill="#fff8e8" xml:space="preserve" font-weight="bold">SEGV</text>
+<text x="1366.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">fault</text>
+<text x="1366.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">signal or error</text>
+<rect x="1548.0" y="802.0" width="43.0" height="46.0" fill="#8a5e0c"/>
+<rect x="1599.0" y="802.0" width="43.0" height="46.0" fill="#17707c"/>
+<text x="1658.0" y="820.0" font-family="Go Medium" font-size="28" fill="#eee6d2" xml:space="preserve">one object</text>
+<text x="1658.0" y="850.0" font-family="Go" font-size="22" fill="#9aa6d9" xml:space="preserve">in every view</text>
+</svg>