Ferdig med foreløpig plan

This commit is contained in:
Trygve 2024-03-21 15:10:28 +01:00
parent 9e62625fd3
commit 4e84911d36
4 changed files with 154 additions and 66 deletions

View File

@ -61,13 +61,13 @@
</Class>
<ClassItem id="0c228e70-e76f-11ee-90ec-8bb162b1502a">
<matrix>
<val>(1.0, 0.0, 0.0, 1.0, 213.8203125, 137.04296875)</val>
<val>(1.0, 0.0, 0.0, 1.0, 213.62031249999998, 137.04296875)</val>
</matrix>
<top-left>
<val>(0.0, 0.0)</val>
</top-left>
<width>
<val>100.0</val>
<val>177.0</val>
</width>
<height>
<val>100.0</val>
@ -109,7 +109,7 @@
<ref refid="0c22379b-e76f-11ee-8193-8bb162b1502a"/>
</class_>
<name>
<val>heights</val>
<val>+ heights: [[float, ...], ...]</val>
</name>
</Property>
<Class id="4a8d98db-e76f-11ee-9ded-8bb162b1502a">
@ -134,13 +134,13 @@
</Class>
<ClassItem id="4a8ddfb4-e76f-11ee-b091-8bb162b1502a">
<matrix>
<val>(1.0, 0.0, 0.0, 1.0, 374.1523132324219, 137.04296875)</val>
<val>(1.0, 0.0, 0.0, 1.0, 410.10133284026506, 137.04296875)</val>
</matrix>
<top-left>
<val>(0.0, 0.0)</val>
</top-left>
<width>
<val>100.0</val>
<val>155.0</val>
</width>
<height>
<val>108.0</val>
@ -162,6 +162,9 @@
<name>
<val>x</val>
</name>
<typeValue>
<val>int</val>
</typeValue>
</Property>
<Property id="59eb8e6d-e76f-11ee-9d79-8bb162b1502a">
<class_>
@ -170,13 +173,16 @@
<name>
<val>y</val>
</name>
<typeValue>
<val>int</val>
</typeValue>
</Property>
<Property id="625d120c-e76f-11ee-aeac-8bb162b1502a">
<class_>
<ref refid="4a8d98db-e76f-11ee-9ded-8bb162b1502a"/>
</class_>
<name>
<val>cases</val>
<val>+ cases: [[int, ...], ...]</val>
</name>
</Property>
</gaphor>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="280" height="127" viewBox="0 0 280 127">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="371" height="127" viewBox="0 0 371 127">
<defs>
<g>
<g id="glyph-0-0">
@ -80,85 +80,153 @@
<path d="M 6.203125 -7.4375 L 6.203125 -6.234375 C 5.847656 -6.421875 5.476562 -6.554688 5.09375 -6.640625 C 4.707031 -6.734375 4.3125 -6.78125 3.90625 -6.78125 C 3.28125 -6.78125 2.8125 -6.6875 2.5 -6.5 C 2.1875 -6.3125 2.03125 -6.023438 2.03125 -5.640625 C 2.03125 -5.347656 2.140625 -5.117188 2.359375 -4.953125 C 2.585938 -4.785156 3.039062 -4.628906 3.71875 -4.484375 L 4.140625 -4.375 C 5.035156 -4.1875 5.671875 -3.914062 6.046875 -3.5625 C 6.421875 -3.21875 6.609375 -2.734375 6.609375 -2.109375 C 6.609375 -1.398438 6.328125 -0.835938 5.765625 -0.421875 C 5.203125 -0.00390625 4.429688 0.203125 3.453125 0.203125 C 3.035156 0.203125 2.601562 0.160156 2.15625 0.078125 C 1.71875 -0.00390625 1.253906 -0.125 0.765625 -0.28125 L 0.765625 -1.578125 C 1.222656 -1.335938 1.675781 -1.15625 2.125 -1.03125 C 2.582031 -0.914062 3.03125 -0.859375 3.46875 -0.859375 C 4.0625 -0.859375 4.515625 -0.957031 4.828125 -1.15625 C 5.148438 -1.363281 5.3125 -1.648438 5.3125 -2.015625 C 5.3125 -2.359375 5.195312 -2.617188 4.96875 -2.796875 C 4.738281 -2.984375 4.234375 -3.160156 3.453125 -3.328125 L 3.015625 -3.4375 C 2.242188 -3.59375 1.679688 -3.84375 1.328125 -4.1875 C 0.984375 -4.53125 0.8125 -4.992188 0.8125 -5.578125 C 0.8125 -6.304688 1.066406 -6.863281 1.578125 -7.25 C 2.085938 -7.644531 2.8125 -7.84375 3.75 -7.84375 C 4.21875 -7.84375 4.65625 -7.804688 5.0625 -7.734375 C 5.476562 -7.671875 5.859375 -7.570312 6.203125 -7.4375 Z M 6.203125 -7.4375 "/>
</g>
<g id="glyph-1-12">
<path d="M 6.828125 -7.359375 L 6.828125 -6.1875 C 6.472656 -6.382812 6.113281 -6.53125 5.75 -6.625 C 5.394531 -6.726562 5.035156 -6.78125 4.671875 -6.78125 C 3.859375 -6.78125 3.222656 -6.519531 2.765625 -6 C 2.316406 -5.476562 2.09375 -4.753906 2.09375 -3.828125 C 2.09375 -2.890625 2.316406 -2.160156 2.765625 -1.640625 C 3.222656 -1.128906 3.859375 -0.875 4.671875 -0.875 C 5.035156 -0.875 5.394531 -0.921875 5.75 -1.015625 C 6.113281 -1.109375 6.472656 -1.253906 6.828125 -1.453125 L 6.828125 -0.296875 C 6.472656 -0.128906 6.109375 -0.00390625 5.734375 0.078125 C 5.359375 0.160156 4.960938 0.203125 4.546875 0.203125 C 3.390625 0.203125 2.46875 -0.15625 1.78125 -0.875 C 1.101562 -1.601562 0.765625 -2.585938 0.765625 -3.828125 C 0.765625 -5.066406 1.109375 -6.046875 1.796875 -6.765625 C 2.484375 -7.484375 3.425781 -7.84375 4.625 -7.84375 C 5.007812 -7.84375 5.382812 -7.800781 5.75 -7.71875 C 6.125 -7.644531 6.484375 -7.523438 6.828125 -7.359375 Z M 6.828125 -7.359375 "/>
<path d="M 1.203125 -10.640625 L 4.109375 -10.640625 L 4.109375 -9.65625 L 2.46875 -9.65625 L 2.46875 0.875 L 4.109375 0.875 L 4.109375 1.84375 L 1.203125 1.84375 Z M 1.203125 -10.640625 "/>
</g>
<g id="glyph-1-13">
<path d="M 4 -10.640625 L 7.5 -10.640625 L 7.5 0 L 6.234375 0 L 6.234375 -9.59375 L 4 -9.59375 C 3.539062 -9.59375 3.222656 -9.5 3.046875 -9.3125 C 2.878906 -9.132812 2.796875 -8.804688 2.796875 -8.328125 L 2.796875 -7.65625 L 4.859375 -7.65625 L 4.859375 -6.671875 L 2.796875 -6.671875 L 2.796875 0 L 1.53125 0 L 1.53125 -6.671875 L 0.328125 -6.671875 L 0.328125 -7.65625 L 1.53125 -7.65625 L 1.53125 -8.1875 C 1.53125 -9.039062 1.726562 -9.660156 2.125 -10.046875 C 2.519531 -10.441406 3.144531 -10.640625 4 -10.640625 Z M 4 -10.640625 "/>
</g>
<g id="glyph-1-14">
<path d="M 4.28125 -6.78125 C 3.613281 -6.78125 3.082031 -6.515625 2.6875 -5.984375 C 2.289062 -5.460938 2.09375 -4.742188 2.09375 -3.828125 C 2.09375 -2.910156 2.285156 -2.1875 2.671875 -1.65625 C 3.066406 -1.132812 3.601562 -0.875 4.28125 -0.875 C 4.957031 -0.875 5.488281 -1.132812 5.875 -1.65625 C 6.269531 -2.1875 6.46875 -2.910156 6.46875 -3.828125 C 6.46875 -4.734375 6.269531 -5.453125 5.875 -5.984375 C 5.488281 -6.515625 4.957031 -6.78125 4.28125 -6.78125 Z M 4.28125 -7.84375 C 5.375 -7.84375 6.234375 -7.484375 6.859375 -6.765625 C 7.484375 -6.054688 7.796875 -5.078125 7.796875 -3.828125 C 7.796875 -2.566406 7.484375 -1.578125 6.859375 -0.859375 C 6.234375 -0.148438 5.375 0.203125 4.28125 0.203125 C 3.1875 0.203125 2.328125 -0.148438 1.703125 -0.859375 C 1.078125 -1.578125 0.765625 -2.566406 0.765625 -3.828125 C 0.765625 -5.078125 1.078125 -6.054688 1.703125 -6.765625 C 2.328125 -7.484375 3.1875 -7.84375 4.28125 -7.84375 Z M 4.28125 -7.84375 "/>
</g>
<g id="glyph-1-15">
<path d="M 4.796875 -3.84375 C 3.785156 -3.84375 3.082031 -3.726562 2.6875 -3.5 C 2.289062 -3.269531 2.09375 -2.875 2.09375 -2.3125 C 2.09375 -1.863281 2.238281 -1.507812 2.53125 -1.25 C 2.832031 -0.988281 3.234375 -0.859375 3.734375 -0.859375 C 4.429688 -0.859375 4.988281 -1.101562 5.40625 -1.59375 C 5.832031 -2.09375 6.046875 -2.75 6.046875 -3.5625 L 6.046875 -3.84375 Z M 7.3125 -4.375 L 7.3125 0 L 6.046875 0 L 6.046875 -1.15625 C 5.765625 -0.695312 5.40625 -0.351562 4.96875 -0.125 C 4.539062 0.09375 4.019531 0.203125 3.40625 0.203125 C 2.625 0.203125 2 -0.015625 1.53125 -0.453125 C 1.070312 -0.898438 0.84375 -1.492188 0.84375 -2.234375 C 0.84375 -3.085938 1.128906 -3.734375 1.703125 -4.171875 C 2.285156 -4.609375 3.144531 -4.828125 4.28125 -4.828125 L 6.046875 -4.828125 L 6.046875 -4.953125 C 6.046875 -5.535156 5.851562 -5.984375 5.46875 -6.296875 C 5.09375 -6.617188 4.5625 -6.78125 3.875 -6.78125 C 3.4375 -6.78125 3.007812 -6.722656 2.59375 -6.609375 C 2.175781 -6.503906 1.78125 -6.347656 1.40625 -6.140625 L 1.40625 -7.3125 C 1.863281 -7.488281 2.304688 -7.617188 2.734375 -7.703125 C 3.171875 -7.796875 3.59375 -7.84375 4 -7.84375 C 5.113281 -7.84375 5.941406 -7.554688 6.484375 -6.984375 C 7.035156 -6.410156 7.3125 -5.539062 7.3125 -4.375 Z M 7.3125 -4.375 "/>
</g>
<g id="glyph-1-16">
<path d="M 1.640625 -1.734375 L 3.078125 -1.734375 L 3.078125 -0.5625 L 1.96875 1.625 L 1.078125 1.625 L 1.640625 -0.5625 Z M 1.640625 -1.734375 "/>
</g>
<g id="glyph-1-17">
<path d="M 1.5 -1.734375 L 2.9375 -1.734375 L 2.9375 0 L 1.5 0 Z M 1.5 -1.734375 "/>
</g>
<g id="glyph-1-18">
<path d="M 4.265625 -10.640625 L 4.265625 1.84375 L 1.359375 1.84375 L 1.359375 0.875 L 3 0.875 L 3 -9.65625 L 1.359375 -9.65625 L 1.359375 -10.640625 Z M 4.265625 -10.640625 "/>
</g>
<g id="glyph-1-19">
<path d="M 6.828125 -7.359375 L 6.828125 -6.1875 C 6.472656 -6.382812 6.113281 -6.53125 5.75 -6.625 C 5.394531 -6.726562 5.035156 -6.78125 4.671875 -6.78125 C 3.859375 -6.78125 3.222656 -6.519531 2.765625 -6 C 2.316406 -5.476562 2.09375 -4.753906 2.09375 -3.828125 C 2.09375 -2.890625 2.316406 -2.160156 2.765625 -1.640625 C 3.222656 -1.128906 3.859375 -0.875 4.671875 -0.875 C 5.035156 -0.875 5.394531 -0.921875 5.75 -1.015625 C 6.113281 -1.109375 6.472656 -1.253906 6.828125 -1.453125 L 6.828125 -0.296875 C 6.472656 -0.128906 6.109375 -0.00390625 5.734375 0.078125 C 5.359375 0.160156 4.960938 0.203125 4.546875 0.203125 C 3.390625 0.203125 2.46875 -0.15625 1.78125 -0.875 C 1.101562 -1.601562 0.765625 -2.585938 0.765625 -3.828125 C 0.765625 -5.066406 1.109375 -6.046875 1.796875 -6.765625 C 2.484375 -7.484375 3.425781 -7.84375 4.625 -7.84375 C 5.007812 -7.84375 5.382812 -7.800781 5.75 -7.71875 C 6.125 -7.644531 6.484375 -7.523438 6.828125 -7.359375 Z M 6.828125 -7.359375 "/>
</g>
</g>
</defs>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0 0 L 100 0 L 100 100 L 0 100 Z M 0 0 Z M 0 0 " transform="matrix(1, 0, 0, 1, 9.820312, 9.042969)"/>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0.00078125 0 L 177.000781 0 L 177.000781 100 L 0.00078125 100 Z M 0.00078125 0 Z M 0.00078125 0 " transform="matrix(1, 0, 0, 1, 9.620312, 9.042969)"/>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-0-0" x="16.820312" y="40.042969"/>
<use xlink:href="#glyph-0-1" x="28.820312" y="40.042969"/>
<use xlink:href="#glyph-0-2" x="37.820312" y="40.042969"/>
<use xlink:href="#glyph-0-3" x="42.820312" y="40.042969"/>
<use xlink:href="#glyph-0-4" x="52.820312" y="40.042969"/>
<use xlink:href="#glyph-0-5" x="62.820312" y="40.042969"/>
<use xlink:href="#glyph-0-6" x="69.820312" y="40.042969"/>
<use xlink:href="#glyph-0-7" x="83.820312" y="40.042969"/>
<use xlink:href="#glyph-0-8" x="92.820312" y="40.042969"/>
<use xlink:href="#glyph-0-0" x="55.621094" y="40.042969"/>
<use xlink:href="#glyph-0-1" x="67.621094" y="40.042969"/>
<use xlink:href="#glyph-0-2" x="76.621094" y="40.042969"/>
<use xlink:href="#glyph-0-3" x="81.621094" y="40.042969"/>
<use xlink:href="#glyph-0-4" x="91.621094" y="40.042969"/>
<use xlink:href="#glyph-0-5" x="101.621094" y="40.042969"/>
<use xlink:href="#glyph-0-6" x="108.621094" y="40.042969"/>
<use xlink:href="#glyph-0-7" x="122.621094" y="40.042969"/>
<use xlink:href="#glyph-0-8" x="131.621094" y="40.042969"/>
</g>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0 41 L 100 41 " transform="matrix(1, 0, 0, 1, 9.820312, 9.042969)"/>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0.00078125 41 L 177.000781 41 " transform="matrix(1, 0, 0, 1, 9.620312, 9.042969)"/>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-1-0" x="13.820312" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="25.820312" y="67.042969"/>
<use xlink:href="#glyph-1-2" x="29.820312" y="67.042969"/>
<use xlink:href="#glyph-1-3" x="37.820312" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="42.820312" y="67.042969"/>
<use xlink:href="#glyph-1-4" x="46.820312" y="67.042969"/>
<use xlink:href="#glyph-1-5" x="50.820312" y="67.042969"/>
<use xlink:href="#glyph-1-6" x="59.820312" y="67.042969"/>
<use xlink:href="#glyph-1-0" x="13.621094" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="25.621094" y="67.042969"/>
<use xlink:href="#glyph-1-2" x="29.621094" y="67.042969"/>
<use xlink:href="#glyph-1-3" x="37.621094" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="42.621094" y="67.042969"/>
<use xlink:href="#glyph-1-4" x="46.621094" y="67.042969"/>
<use xlink:href="#glyph-1-5" x="50.621094" y="67.042969"/>
<use xlink:href="#glyph-1-6" x="59.621094" y="67.042969"/>
</g>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-1-0" x="13.820312" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="25.820312" y="84.042969"/>
<use xlink:href="#glyph-1-7" x="29.820312" y="84.042969"/>
<use xlink:href="#glyph-1-3" x="36.820312" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="41.820312" y="84.042969"/>
<use xlink:href="#glyph-1-4" x="45.820312" y="84.042969"/>
<use xlink:href="#glyph-1-5" x="49.820312" y="84.042969"/>
<use xlink:href="#glyph-1-6" x="58.820312" y="84.042969"/>
<use xlink:href="#glyph-1-0" x="13.621094" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="25.621094" y="84.042969"/>
<use xlink:href="#glyph-1-7" x="29.621094" y="84.042969"/>
<use xlink:href="#glyph-1-3" x="36.621094" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="41.621094" y="84.042969"/>
<use xlink:href="#glyph-1-4" x="45.621094" y="84.042969"/>
<use xlink:href="#glyph-1-5" x="49.621094" y="84.042969"/>
<use xlink:href="#glyph-1-6" x="58.621094" y="84.042969"/>
</g>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-1-0" x="13.820312" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="25.820312" y="101.042969"/>
<use xlink:href="#glyph-1-8" x="29.820312" y="101.042969"/>
<use xlink:href="#glyph-1-9" x="38.820312" y="101.042969"/>
<use xlink:href="#glyph-1-4" x="47.820312" y="101.042969"/>
<use xlink:href="#glyph-1-10" x="51.820312" y="101.042969"/>
<use xlink:href="#glyph-1-8" x="60.820312" y="101.042969"/>
<use xlink:href="#glyph-1-6" x="69.820312" y="101.042969"/>
<use xlink:href="#glyph-1-11" x="74.820312" y="101.042969"/>
<use xlink:href="#glyph-1-0" x="13.621094" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="25.621094" y="101.042969"/>
<use xlink:href="#glyph-1-8" x="29.621094" y="101.042969"/>
<use xlink:href="#glyph-1-9" x="38.621094" y="101.042969"/>
<use xlink:href="#glyph-1-4" x="47.621094" y="101.042969"/>
<use xlink:href="#glyph-1-10" x="51.621094" y="101.042969"/>
<use xlink:href="#glyph-1-8" x="60.621094" y="101.042969"/>
<use xlink:href="#glyph-1-6" x="69.621094" y="101.042969"/>
<use xlink:href="#glyph-1-11" x="74.621094" y="101.042969"/>
<use xlink:href="#glyph-1-3" x="81.621094" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="86.621094" y="101.042969"/>
<use xlink:href="#glyph-1-12" x="90.621094" y="101.042969"/>
<use xlink:href="#glyph-1-12" x="95.621094" y="101.042969"/>
<use xlink:href="#glyph-1-13" x="100.621094" y="101.042969"/>
<use xlink:href="#glyph-1-14" x="109.621094" y="101.042969"/>
<use xlink:href="#glyph-1-15" x="118.621094" y="101.042969"/>
<use xlink:href="#glyph-1-6" x="127.621094" y="101.042969"/>
<use xlink:href="#glyph-1-16" x="132.621094" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="136.621094" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="140.621094" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="144.621094" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="148.621094" y="101.042969"/>
<use xlink:href="#glyph-1-18" x="152.621094" y="101.042969"/>
<use xlink:href="#glyph-1-16" x="157.621094" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="161.621094" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="165.621094" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="169.621094" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="173.621094" y="101.042969"/>
<use xlink:href="#glyph-1-18" x="177.621094" y="101.042969"/>
</g>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0.0000305176 0 L 100.000031 0 L 100.000031 108 L 0.0000305176 108 Z M 0.0000305176 0 Z M 0.0000305176 0 " transform="matrix(1, 0, 0, 1, 170.152313, 9.042969)"/>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0.00022966 0 L 155.00023 0 L 155.00023 108 L 0.00022966 108 Z M 0.00022966 0 Z M 0.00022966 0 " transform="matrix(1, 0, 0, 1, 206.101333, 9.042969)"/>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-0-9" x="188.152344" y="40.042969"/>
<use xlink:href="#glyph-0-10" x="198.152344" y="40.042969"/>
<use xlink:href="#glyph-0-11" x="208.152344" y="40.042969"/>
<use xlink:href="#glyph-0-12" x="218.152344" y="40.042969"/>
<use xlink:href="#glyph-0-5" x="228.152344" y="40.042969"/>
<use xlink:href="#glyph-0-10" x="235.152344" y="40.042969"/>
<use xlink:href="#glyph-0-13" x="245.152344" y="40.042969"/>
<use xlink:href="#glyph-0-9" x="252.101562" y="40.042969"/>
<use xlink:href="#glyph-0-10" x="262.101562" y="40.042969"/>
<use xlink:href="#glyph-0-11" x="272.101562" y="40.042969"/>
<use xlink:href="#glyph-0-12" x="282.101562" y="40.042969"/>
<use xlink:href="#glyph-0-5" x="292.101562" y="40.042969"/>
<use xlink:href="#glyph-0-10" x="299.101562" y="40.042969"/>
<use xlink:href="#glyph-0-13" x="309.101562" y="40.042969"/>
</g>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0.0000305176 41 L 100.000031 41 " transform="matrix(1, 0, 0, 1, 170.152313, 9.042969)"/>
<path fill="none" stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" stroke="rgb(0%, 0%, 0%)" stroke-opacity="1" stroke-miterlimit="10" d="M 0.00022966 41 L 155.00023 41 " transform="matrix(1, 0, 0, 1, 206.101333, 9.042969)"/>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-1-0" x="174.152344" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="186.152344" y="67.042969"/>
<use xlink:href="#glyph-1-2" x="190.152344" y="67.042969"/>
<use xlink:href="#glyph-1-0" x="210.101562" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="222.101562" y="67.042969"/>
<use xlink:href="#glyph-1-2" x="226.101562" y="67.042969"/>
<use xlink:href="#glyph-1-3" x="234.101562" y="67.042969"/>
<use xlink:href="#glyph-1-1" x="239.101562" y="67.042969"/>
<use xlink:href="#glyph-1-4" x="243.101562" y="67.042969"/>
<use xlink:href="#glyph-1-5" x="247.101562" y="67.042969"/>
<use xlink:href="#glyph-1-6" x="256.101562" y="67.042969"/>
</g>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-1-0" x="174.152344" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="186.152344" y="84.042969"/>
<use xlink:href="#glyph-1-7" x="190.152344" y="84.042969"/>
<use xlink:href="#glyph-1-0" x="210.101562" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="222.101562" y="84.042969"/>
<use xlink:href="#glyph-1-7" x="226.101562" y="84.042969"/>
<use xlink:href="#glyph-1-3" x="233.101562" y="84.042969"/>
<use xlink:href="#glyph-1-1" x="238.101562" y="84.042969"/>
<use xlink:href="#glyph-1-4" x="242.101562" y="84.042969"/>
<use xlink:href="#glyph-1-5" x="246.101562" y="84.042969"/>
<use xlink:href="#glyph-1-6" x="255.101562" y="84.042969"/>
</g>
<g fill="rgb(0%, 0%, 0%)" fill-opacity="1">
<use xlink:href="#glyph-1-0" x="174.152344" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="186.152344" y="101.042969"/>
<use xlink:href="#glyph-1-12" x="190.152344" y="101.042969"/>
<use xlink:href="#glyph-1-13" x="198.152344" y="101.042969"/>
<use xlink:href="#glyph-1-11" x="207.152344" y="101.042969"/>
<use xlink:href="#glyph-1-9" x="214.152344" y="101.042969"/>
<use xlink:href="#glyph-1-11" x="223.152344" y="101.042969"/>
<use xlink:href="#glyph-1-0" x="210.101562" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="222.101562" y="101.042969"/>
<use xlink:href="#glyph-1-19" x="226.101562" y="101.042969"/>
<use xlink:href="#glyph-1-15" x="234.101562" y="101.042969"/>
<use xlink:href="#glyph-1-11" x="243.101562" y="101.042969"/>
<use xlink:href="#glyph-1-9" x="250.101562" y="101.042969"/>
<use xlink:href="#glyph-1-11" x="259.101562" y="101.042969"/>
<use xlink:href="#glyph-1-3" x="266.101562" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="271.101562" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="275.101562" y="101.042969"/>
<use xlink:href="#glyph-1-12" x="279.101562" y="101.042969"/>
<use xlink:href="#glyph-1-12" x="284.101562" y="101.042969"/>
<use xlink:href="#glyph-1-4" x="289.101562" y="101.042969"/>
<use xlink:href="#glyph-1-5" x="293.101562" y="101.042969"/>
<use xlink:href="#glyph-1-6" x="302.101562" y="101.042969"/>
<use xlink:href="#glyph-1-16" x="307.101562" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="311.101562" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="315.101562" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="319.101562" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="323.101562" y="101.042969"/>
<use xlink:href="#glyph-1-18" x="327.101562" y="101.042969"/>
<use xlink:href="#glyph-1-16" x="332.101562" y="101.042969"/>
<use xlink:href="#glyph-1-1" x="336.101562" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="340.101562" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="344.101562" y="101.042969"/>
<use xlink:href="#glyph-1-17" x="348.101562" y="101.042969"/>
<use xlink:href="#glyph-1-18" x="352.101562" y="101.042969"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 30 KiB

14
documentation/plan.md Normal file
View File

@ -0,0 +1,14 @@
## Group: Trygve and Esther
# What problem will you be working on in your programming project?
We will be implementing a marching squares algorithm to produce a contour map from a heightmap image file.
# Responsibilities:
Esther will create the algorithm itself with multitreading. This will essentially be a function that takes a grid of pixels as input and returns a similar grid of cells.
Trygve will take care of reading in the tiff file into our own datastructure and creating a vector image from the output of the algorithm.
# How do you plan to make it easily verifiable that your objectives are reached?
We can compare against the `gdal_contour` cli program which is a implementation widely used in other software. We can compare speed, memory usage and the result itself.
Each step in our program also produces a output which we can be worked on and evaluated independently.
# ER diagram:
![](ER_diagram.svg)

BIN
documentation/plan.pdf Normal file

Binary file not shown.