Bisect level :D

This commit is contained in:
blinry 2020-10-30 12:08:17 +01:00
parent 349da79fec
commit 28d2c20972
9 changed files with 560 additions and 0 deletions

142
cards/bisect-bad.svg Normal file
View file

@ -0,0 +1,142 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="28.546131mm"
height="54.659718mm"
viewBox="0 0 28.546129 54.659715"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="bisect-bad.svg">
<defs
id="defs2">
<inkscape:path-effect
effect="spiro"
id="path-effect849"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect845"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect852"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect848"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect844"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect1251"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect895"
is_visible="true"
lpeversion="1" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="3.9693845"
inkscape:cy="-3.2222228"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="2095"
inkscape:window-x="4480"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:snap-global="false" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-102.96792,-66.131819)">
<rect
style="fill:#c2bf26;fill-opacity:1;fill-rule:evenodd;stroke-width:0.0999996;stroke-linecap:round;stroke-linejoin:round"
id="rect831"
width="24.586214"
height="24.586214"
x="103.71105"
y="96.205322"
ry="3.3460476" />
<g
id="g1255"
transform="matrix(0.31877122,0.94783169,0.94783169,-0.31877122,-4.6248535,15.568302)">
<g
id="g836-5"
transform="matrix(0.36020915,1.0710429,1.0710429,-0.36020915,-85.05734,82.839544)"
style="stroke-width:0.884961">
<path
fill="#000000"
fill-opacity="0"
d="m 49.724797,139.46145 h 25.262225 v 30.2466 H 49.724797 Z"
fill-rule="nonzero"
id="path836"
style="fill:#00ffff;stroke:none;stroke-width:0.0438623;stroke-linecap:square;stroke-miterlimit:10" />
<path
id="path838"
style="fill:#00cbff;fill-opacity:1;stroke:none;stroke-width:0.0438623;stroke-linecap:square;stroke-miterlimit:10"
d="m 61.312236,140.14975 c -0.181419,-5e-4 -0.348014,0.0541 -0.469987,0.15788 -0.216843,0.18455 -0.457952,0.68683 -0.394768,1.05334 0.06318,0.3665 0.506987,0.70165 0.773855,1.14578 0.266868,0.44413 0.569234,0.78157 0.827394,1.51897 0.08643,0.24688 0.170936,0.59655 0.253629,0.96911 -0.0046,2.5e-4 -0.0092,5.2e-4 -0.01375,7.8e-4 -0.02568,-0.0473 -0.05162,-0.0944 -0.07841,-0.14008 -0.506333,-0.86406 -1.593239,-2.20601 -2.194373,-2.73803 -0.601134,-0.53203 -1.044128,-0.45088 -1.412384,-0.45411 -0.368262,-0.003 -0.67946,0.17544 -0.797096,0.43475 -0.11763,0.25931 -0.121927,0.81638 0.09129,1.1211 0.213219,0.30471 0.757424,0.41893 1.187992,0.70716 0.430569,0.28822 0.84779,0.46497 1.395344,1.02226 0.05815,0.0592 0.12116,0.12913 0.186545,0.20454 -0.06223,0.0142 -0.12389,0.0302 -0.185186,0.0477 -0.763194,-0.34689 -1.708377,-0.68382 -2.236488,-0.78973 -0.699052,-0.1402 -1.007113,0.11942 -1.294084,0.28102 -0.286972,0.1616 -0.449998,0.43728 -0.427684,0.68857 0.0223,0.2513 0.262823,0.68047 0.561561,0.81917 0.298743,0.1387 0.770817,-0.0161 1.230876,0.0131 0.238032,0.0151 0.460862,0.009 0.712484,0.0253 -0.825064,1.10605 -1.306386,2.28588 -1.885761,5.60675 -0.125021,0.71662 -0.274828,1.6729 -0.431843,2.75023 -0.539599,0.1184 -1.207739,0.33865 -1.77163,0.67463 -0.954119,0.56849 -2.472997,1.87502 -3.096112,2.633 -0.623111,0.75798 -0.593912,1.39628 -0.642589,1.9149 -0.04868,0.51862 0.09738,0.98735 0.350527,1.1968 0.253144,0.20945 0.827592,0.30926 1.168341,0.0599 0.340748,-0.24934 0.525597,-0.99742 0.876085,-1.55595 0.350488,-0.55852 0.584218,-1.11704 1.226807,-1.79524 0.376291,-0.39714 1.05406,-0.92289 1.645008,-1.39971 -0.527635,3.88745 -1.044351,8.59446 -0.950625,10.435 0.136743,2.68532 1.904497,1.79765 2.44655,1.19844 0.542053,-0.59921 0.28425,-3.88379 0.80571,-4.79368 0.521454,-0.90989 1.461576,-0.63235 2.323026,-0.66563 0.861454,-0.0333 2.293927,0.0776 2.84568,0.46592 0.551753,0.38836 0.426132,0.98754 0.464857,1.86417 0.03872,0.87663 -0.513202,2.74093 -0.232525,3.39563 0.280676,0.6547 1.422875,0.95428 1.916543,0.53262 0.493673,-0.42167 0.716394,-0.85441 1.045494,-3.06262 0.280556,-1.88249 0.630087,-5.93214 0.835426,-8.8076 0.434682,0.6671 0.911774,1.38475 1.150624,1.8876 0.439895,0.92608 0.48337,1.56632 0.652853,2.25497 0.169477,0.68866 0.08953,1.49319 0.363986,1.87695 0.274454,0.38376 0.931451,0.52462 1.282762,0.42565 0.351311,-0.099 0.683977,-0.49463 0.825165,-1.01945 0.141187,-0.52482 0.411059,-1.13386 0.02197,-2.12951 -0.389079,-0.99566 -1.539591,-2.89606 -2.356522,-3.84442 -0.526986,-0.61176 -1.239673,-1.14104 -1.804057,-1.47928 0.169223,-2.44723 0.367125,-4.29838 0.07318,-5.80965 -0.319417,-1.64227 -1.07453,-2.71863 -2.032807,-3.39553 -0.645941,-0.45627 -1.577618,-0.63479 -2.47511,-0.67918 -0.0032,-0.0999 -0.0083,-0.19919 -0.01703,-0.29622 -0.09025,-0.99742 -0.502353,-2.67435 -0.819746,-3.4117 -0.317394,-0.73735 -0.752771,-0.85266 -1.084602,-1.01239 -0.145179,-0.0699 -0.295294,-0.10358 -0.436398,-0.10397 z m 0.535238,7.24343 c 0.379657,0 0.743829,0.14722 1.012288,0.40938 0.268459,0.26217 0.419263,0.61772 0.419263,0.98848 0,0.77206 -0.640953,1.39796 -1.431551,1.39796 -0.790607,0 -1.431456,-0.6259 -1.431456,-1.39796 0,-0.77206 0.640849,-1.39786 1.431456,-1.39786 z m 3.578393,0 c 0.379659,0 0.743829,0.14722 1.012289,0.40938 0.268457,0.26217 0.419262,0.61772 0.419262,0.98848 0,0.77206 -0.640953,1.39796 -1.431551,1.39796 -0.790599,0 -1.431453,-0.6259 -1.431453,-1.39796 0,-0.77206 0.640854,-1.39786 1.431453,-1.39786 z m -0.666309,4.27926 c 0.352951,-6.6e-4 0.659734,0.0291 0.819938,0.13107 0.366181,0.23301 0.543708,1.00968 0,1.33146 -0.543709,0.32177 -2.507788,0.6103 -3.262327,0.59922 -0.75454,-0.0111 -1.109602,-0.36613 -1.264951,-0.66573 -0.155349,-0.29959 -0.05545,-0.90991 0.332912,-1.13184 0.388365,-0.22193 1.298224,-0.17753 1.997281,-0.19971 0.393222,-0.0125 0.923355,-0.0636 1.377147,-0.0645 z" />
</g>
<path
style="fill:none;fill-opacity:0.997727;stroke:#000000;stroke-width:1.5;stroke-linecap:square"
d="m 136.8387,90.696153 c -1.71981,-0.379053 -3.3246,-1.26528 -4.5614,-2.518982 -1.1983,-1.214678 -2.03903,-2.747602 -2.61265,-4.354564 -0.71315,-1.997863 -1.02697,-4.203742 -0.45478,-6.246446 0.38673,-1.380603 1.17557,-2.646012 2.24489,-3.601093"
id="path850"
inkscape:path-effect="#path-effect852"
inkscape:original-d="m 136.8387,90.696153 c -1.52077,-0.839863 -3.04124,-1.679524 -4.5614,-2.518982 -1.52014,-0.839454 -1.95326,-2.90171 -2.61265,-4.354564 -0.65939,-1.452856 -0.0923,-4.16604 -0.45478,-6.246446 -0.36245,-2.080406 1.49628,-2.400935 2.24489,-3.601093"
sodipodi:nodetypes="csssc" />
<path
style="fill:#000000;fill-opacity:0.997727;stroke:none;stroke-width:1.5;stroke-linecap:square"
d="m 119.97814,82.777745 c -0.0578,-0.471077 0.1004,-0.937698 0.19663,-1.402453 0.0764,-0.368839 0.11453,-0.746297 0.2214,-1.10748 0.10688,-0.361183 0.29303,-0.714603 0.60041,-0.9323 0.2199,-0.155739 0.49187,-0.232478 0.76132,-0.22974 0.26945,0.0027 0.53577,0.08296 0.76991,0.216345 0.46826,0.266773 0.79569,0.733165 1.00242,1.23086 0.27985,0.673719 0.35975,1.44572 0.13093,2.138437 -0.11441,0.346359 -0.30476,0.668871 -0.56172,0.92776 -0.25696,0.258889 -0.58101,0.452859 -0.93392,0.545099 -0.47282,0.123582 -0.99636,0.05649 -1.4126,-0.199584 -0.41624,-0.256075 -0.71523,-0.70188 -0.77478,-1.186944 z"
id="path843"
inkscape:path-effect="#path-effect845"
inkscape:original-d="m 119.97814,82.777745 c -0.72946,-0.462343 0.0518,-0.870324 0.19663,-1.402453 0.14481,-0.532128 0.6278,-1.424165 0.82181,-2.03978 0.19401,-0.615615 1.7163,0.435757 2.53365,1.217465 0.81735,0.781707 -0.93634,2.783749 -1.36471,3.611296 -0.42837,0.827548 -1.45792,-0.924186 -2.18738,-1.386528 z"
sodipodi:nodetypes="scssss" />
<path
style="fill:#000000;fill-opacity:0.997727;stroke:none;stroke-width:1.5;stroke-linecap:square"
d="m 122.60722,90.059055 c 0.23859,0.410285 0.64663,0.68646 1.00415,0.998612 0.28373,0.24773 0.54222,0.52542 0.84563,0.748616 0.30341,0.223197 0.6653,0.392303 1.04176,0.380014 0.26932,-0.0088 0.53239,-0.111995 0.74543,-0.277 0.21303,-0.165004 0.37676,-0.389858 0.4827,-0.637619 0.2119,-0.495522 0.19095,-1.064986 0.0549,-1.586462 -0.18414,-0.70591 -0.58699,-1.369297 -1.1879,-1.782964 -0.30046,-0.206834 -0.64701,-0.348777 -1.00819,-0.399773 -0.36119,-0.051 -0.73659,-0.0097 -1.07352,0.130036 -0.45141,0.187253 -0.828,0.557072 -1.00491,1.012633 -0.17691,0.455562 -0.14574,0.99144 0.0999,1.413907 z"
id="path847"
inkscape:path-effect="#path-effect849"
inkscape:original-d="m 122.60722,90.059055 c -0.30183,0.809181 0.56719,0.662146 1.00415,0.998612 0.43693,0.336477 1.36081,0.755363 1.88739,1.12863 0.52659,0.373266 1.10418,-1.384329 1.28305,-2.501081 0.17886,-1.116751 -2.42822,-1.652193 -3.26961,-2.052701 -0.84138,-0.400509 -0.60315,1.61736 -0.90498,2.42654 z"
sodipodi:nodetypes="scssss" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/bisect-bad.svg-62f0f685f6f91720307692ecdfa16854.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://cards/bisect-bad.svg"
dest_files=[ "res://.import/bisect-bad.svg-62f0f685f6f91720307692ecdfa16854.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

130
cards/bisect-good.svg Normal file
View file

@ -0,0 +1,130 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="28.546131mm"
height="54.659718mm"
viewBox="0 0 28.546129 54.659715"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="bisect-good.svg">
<defs
id="defs2">
<inkscape:path-effect
effect="spiro"
id="path-effect852"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect848"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect844"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect1251"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect895"
is_visible="true"
lpeversion="1" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="-48.94517"
inkscape:cy="-60.968361"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="2095"
inkscape:window-x="4480"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:snap-global="false" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-102.96792,-66.131819)">
<rect
style="fill:#c2bf26;fill-opacity:1;fill-rule:evenodd;stroke-width:0.0999996;stroke-linecap:round;stroke-linejoin:round"
id="rect831"
width="24.586214"
height="24.586214"
x="103.71105"
y="96.205322"
ry="3.3460476" />
<g
id="g1255"
transform="matrix(0.31877122,0.94783169,0.94783169,-0.31877122,-4.6248535,15.568302)">
<g
id="g836-5"
transform="matrix(0.36020915,1.0710429,1.0710429,-0.36020915,-85.05734,82.839544)"
style="stroke-width:0.884961">
<path
fill="#000000"
fill-opacity="0"
d="m 49.724797,139.46145 h 25.262225 v 30.2466 H 49.724797 Z"
fill-rule="nonzero"
id="path836"
style="fill:#00ffff;stroke:none;stroke-width:0.0438623;stroke-linecap:square;stroke-miterlimit:10" />
<path
id="path838"
style="fill:#00cbff;fill-opacity:1;stroke:none;stroke-width:0.0438623;stroke-linecap:square;stroke-miterlimit:10"
d="m 61.312236,140.14975 c -0.181419,-5e-4 -0.348014,0.0541 -0.469987,0.15788 -0.216843,0.18455 -0.457952,0.68683 -0.394768,1.05334 0.06318,0.3665 0.506987,0.70165 0.773855,1.14578 0.266868,0.44413 0.569234,0.78157 0.827394,1.51897 0.08643,0.24688 0.170936,0.59655 0.253629,0.96911 -0.0046,2.5e-4 -0.0092,5.2e-4 -0.01375,7.8e-4 -0.02568,-0.0473 -0.05162,-0.0944 -0.07841,-0.14008 -0.506333,-0.86406 -1.593239,-2.20601 -2.194373,-2.73803 -0.601134,-0.53203 -1.044128,-0.45088 -1.412384,-0.45411 -0.368262,-0.003 -0.67946,0.17544 -0.797096,0.43475 -0.11763,0.25931 -0.121927,0.81638 0.09129,1.1211 0.213219,0.30471 0.757424,0.41893 1.187992,0.70716 0.430569,0.28822 0.84779,0.46497 1.395344,1.02226 0.05815,0.0592 0.12116,0.12913 0.186545,0.20454 -0.06223,0.0142 -0.12389,0.0302 -0.185186,0.0477 -0.763194,-0.34689 -1.708377,-0.68382 -2.236488,-0.78973 -0.699052,-0.1402 -1.007113,0.11942 -1.294084,0.28102 -0.286972,0.1616 -0.449998,0.43728 -0.427684,0.68857 0.0223,0.2513 0.262823,0.68047 0.561561,0.81917 0.298743,0.1387 0.770817,-0.0161 1.230876,0.0131 0.238032,0.0151 0.460862,0.009 0.712484,0.0253 -0.825064,1.10605 -1.306386,2.28588 -1.885761,5.60675 -0.125021,0.71662 -0.274828,1.6729 -0.431843,2.75023 -0.539599,0.1184 -1.207739,0.33865 -1.77163,0.67463 -0.954119,0.56849 -2.472997,1.87502 -3.096112,2.633 -0.623111,0.75798 -0.593912,1.39628 -0.642589,1.9149 -0.04868,0.51862 0.09738,0.98735 0.350527,1.1968 0.253144,0.20945 0.827592,0.30926 1.168341,0.0599 0.340748,-0.24934 0.525597,-0.99742 0.876085,-1.55595 0.350488,-0.55852 0.584218,-1.11704 1.226807,-1.79524 0.376291,-0.39714 1.05406,-0.92289 1.645008,-1.39971 -0.527635,3.88745 -1.044351,8.59446 -0.950625,10.435 0.136743,2.68532 1.904497,1.79765 2.44655,1.19844 0.542053,-0.59921 0.28425,-3.88379 0.80571,-4.79368 0.521454,-0.90989 1.461576,-0.63235 2.323026,-0.66563 0.861454,-0.0333 2.293927,0.0776 2.84568,0.46592 0.551753,0.38836 0.426132,0.98754 0.464857,1.86417 0.03872,0.87663 -0.513202,2.74093 -0.232525,3.39563 0.280676,0.6547 1.422875,0.95428 1.916543,0.53262 0.493673,-0.42167 0.716394,-0.85441 1.045494,-3.06262 0.280556,-1.88249 0.630087,-5.93214 0.835426,-8.8076 0.434682,0.6671 0.911774,1.38475 1.150624,1.8876 0.439895,0.92608 0.48337,1.56632 0.652853,2.25497 0.169477,0.68866 0.08953,1.49319 0.363986,1.87695 0.274454,0.38376 0.931451,0.52462 1.282762,0.42565 0.351311,-0.099 0.683977,-0.49463 0.825165,-1.01945 0.141187,-0.52482 0.411059,-1.13386 0.02197,-2.12951 -0.389079,-0.99566 -1.539591,-2.89606 -2.356522,-3.84442 -0.526986,-0.61176 -1.239673,-1.14104 -1.804057,-1.47928 0.169223,-2.44723 0.367125,-4.29838 0.07318,-5.80965 -0.319417,-1.64227 -1.07453,-2.71863 -2.032807,-3.39553 -0.645941,-0.45627 -1.577618,-0.63479 -2.47511,-0.67918 -0.0032,-0.0999 -0.0083,-0.19919 -0.01703,-0.29622 -0.09025,-0.99742 -0.502353,-2.67435 -0.819746,-3.4117 -0.317394,-0.73735 -0.752771,-0.85266 -1.084602,-1.01239 -0.145179,-0.0699 -0.295294,-0.10358 -0.436398,-0.10397 z m 0.535238,7.24343 c 0.379657,0 0.743829,0.14722 1.012288,0.40938 0.268459,0.26217 0.419263,0.61772 0.419263,0.98848 0,0.77206 -0.640953,1.39796 -1.431551,1.39796 -0.790607,0 -1.431456,-0.6259 -1.431456,-1.39796 0,-0.77206 0.640849,-1.39786 1.431456,-1.39786 z m 3.578393,0 c 0.379659,0 0.743829,0.14722 1.012289,0.40938 0.268457,0.26217 0.419262,0.61772 0.419262,0.98848 0,0.77206 -0.640953,1.39796 -1.431551,1.39796 -0.790599,0 -1.431453,-0.6259 -1.431453,-1.39796 0,-0.77206 0.640854,-1.39786 1.431453,-1.39786 z m -0.666309,4.27926 c 0.352951,-6.6e-4 0.659734,0.0291 0.819938,0.13107 0.366181,0.23301 0.543708,1.00968 0,1.33146 -0.543709,0.32177 -2.507788,0.6103 -3.262327,0.59922 -0.75454,-0.0111 -1.109602,-0.36613 -1.264951,-0.66573 -0.155349,-0.29959 -0.05545,-0.90991 0.332912,-1.13184 0.388365,-0.22193 1.298224,-0.17753 1.997281,-0.19971 0.393222,-0.0125 0.923355,-0.0636 1.377147,-0.0645 z" />
</g>
<path
style="fill:none;fill-opacity:0.997727;stroke:#000000;stroke-width:1.5;stroke-linecap:square"
d="m 121.44457,77.695793 -1.92101,4.09908 3.80783,2.053937"
id="path842"
inkscape:path-effect="#path-effect844"
inkscape:original-d="m 121.44457,77.695793 c -0.64,1.366526 -1.92101,4.09908 -1.92101,4.09908 0,0 3.80783,2.053937 3.80783,2.053937" />
<path
style="fill:none;fill-opacity:0.997727;stroke:#000000;stroke-width:1.5;stroke-linecap:square"
d="m 124.84531,88.043268 -1.2288,4.037872 3.30371,1.322017"
id="path846"
inkscape:path-effect="#path-effect848"
inkscape:original-d="m 124.84531,88.043268 c -0.40934,1.374831 -1.2288,4.037872 -1.2288,4.037872 0,0 3.30371,1.322017 3.30371,1.322017" />
<path
style="fill:none;fill-opacity:0.997727;stroke:#000000;stroke-width:1.5;stroke-linecap:square"
d="m 126.32678,75.631406 c 1.75222,0.176541 3.44916,0.870191 4.82332,1.971606 1.33139,1.067131 2.34463,2.491919 3.10118,4.021298 0.94058,1.901407 1.50872,4.055844 1.17789,6.151218 -0.2236,1.416201 -0.85998,2.764738 -1.81101,3.837659"
id="path850"
inkscape:path-effect="#path-effect852"
inkscape:original-d="m 126.32678,75.631406 c 1.6081,0.657368 3.21588,1.314569 4.82332,1.971606 1.60743,0.657035 2.27736,2.654954 3.10118,4.021298 0.82383,1.366345 0.57603,4.127057 1.17789,6.151218 0.60186,2.024161 -1.207,2.558607 -1.81101,3.837659"
sodipodi:nodetypes="csssc" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.6 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/bisect-good.svg-824dbd02cadbc866adc1cd549a996df6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://cards/bisect-good.svg"
dest_files=[ "res://.import/bisect-good.svg-824dbd02cadbc866adc1cd549a996df6.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

124
cards/bisect-start.svg Normal file
View file

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="67.428223mm"
height="69.127792mm"
viewBox="0 0 67.428218 69.127789"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"
sodipodi:docname="bisect-start.svg">
<defs
id="defs2">
<inkscape:path-effect
effect="spiro"
id="path-effect847"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect852"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect848"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect844"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect1251"
is_visible="true"
lpeversion="1" />
<inkscape:path-effect
effect="spiro"
id="path-effect895"
is_visible="true"
lpeversion="1" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.9899495"
inkscape:cx="215.85626"
inkscape:cy="-507.80655"
inkscape:document-units="mm"
inkscape:current-layer="g1255"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="1397"
inkscape:window-height="2095"
inkscape:window-x="5003"
inkscape:window-y="30"
inkscape:window-maximized="1"
inkscape:snap-global="false" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-91.122843,-83.614978)">
<rect
style="fill:#c2bf26;fill-opacity:1;fill-rule:evenodd;stroke-width:0.0999996;stroke-linecap:round;stroke-linejoin:round"
id="rect831"
width="24.586214"
height="24.586214"
x="103.71105"
y="96.205322"
ry="3.3460476" />
<g
id="g1255"
transform="matrix(0.31877122,0.94783169,0.94783169,-0.31877122,-4.6248535,15.568302)">
<circle
style="fill:none;fill-opacity:0.997727;stroke:#4d4d4d;stroke-width:6;stroke-linecap:square"
id="path843"
cx="120.71751"
cy="93.016487"
r="21.96981"
transform="matrix(0.31877121,0.94783169,0.94783169,-0.31877121,0,0)" />
<path
style="fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:6.00001;stroke-linecap:square"
d="m 149.36796,91.459515 c 4.11008,0.797695 8.22659,1.56229 12.34899,2.293686 4.46067,0.791412 9.062,1.594155 12.88316,4.027794 1.87679,1.1953 3.5398,2.797765 4.53153,4.789645 0.99172,1.99187 1.25652,4.39725 0.43741,6.4661 -0.50309,1.27067 -1.39578,2.37612 -2.50126,3.17963 -1.10549,0.8035 -2.4181,1.30836 -3.77026,1.50678 -2.54007,0.37273 -5.14449,-0.32905 -7.42653,-1.50514 -2.28204,-1.17608 -4.2922,-2.80777 -6.2859,-4.42518 -4.28435,-3.47573 -8.57698,-6.94124 -12.87786,-10.396496"
id="path845"
inkscape:path-effect="#path-effect847"
inkscape:original-d="m 149.36796,91.459515 c 4.15933,0.750381 8.233,1.529291 12.34899,2.293686 4.11599,0.764394 8.58911,2.685362 12.88316,4.027794 4.29405,1.342429 3.31296,7.503995 4.96894,11.255745 1.65599,3.75174 -4.18068,3.12444 -6.27152,4.68641 -2.09085,1.56197 -9.24793,-3.65876 -13.71243,-5.93032 -4.46451,-2.27156 -8.47826,-7.22545 -12.87786,-10.396496"
sodipodi:nodetypes="csssssc" />
<g
aria-label="?"
transform="matrix(0.31877122,0.94783169,0.94783169,-0.31877122,0,0)"
id="text851"
style="font-size:20.5549px;line-height:100%;font-family:Cabin;-inkscape-font-specification:Cabin;font-variant-ligatures:discretionary-ligatures historical-ligatures;font-variant-numeric:lining-nums tabular-nums slashed-zero;writing-mode:lr-tb;fill:#000000;fill-opacity:1;stroke:none;stroke-width:6.00001;stroke-linecap:square">
<path
d="m 119.34497,96.79874 v -0.513872 q 0,-0.894139 0.24666,-1.562173 0.24666,-0.668034 0.62692,-1.202461 0.39054,-0.544705 0.81192,-1.058578 0.67831,-0.832473 1.06885,-1.438843 0.39055,-0.616647 0.39055,-1.479952 0,-0.729699 -0.33916,-1.192185 -0.32888,-0.472762 -0.85303,-0.698866 -0.51387,-0.226104 -1.06885,-0.226104 -0.77081,0 -1.42857,0.226104 -0.64748,0.215826 -1.22301,0.554982 l -0.185,-1.664947 q 0.61665,-0.390543 1.41829,-0.637202 0.81192,-0.246658 1.89105,-0.246658 1.28468,0 2.15827,0.513872 0.87358,0.503595 1.31551,1.336069 0.45221,0.822196 0.45221,1.788276 0,0.801641 -0.25694,1.418288 -0.25694,0.616647 -0.65776,1.140797 -0.40082,0.52415 -0.83247,1.058577 -0.61665,0.750254 -1.10996,1.500508 -0.49332,0.739976 -0.49332,1.747166 v 0.637202 z m -0.14389,3.53544 v -2.178817 h 2.21993 v 2.178817 z"
style="fill:#000000;stroke-width:6.00001"
id="path853" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/bisect-start.svg-1e5a904f73da711887aa389242772e6d.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://cards/bisect-start.svg"
dest_files=[ "res://.import/bisect-start.svg-1e5a904f73da711887aa389242772e6d.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=true
svg/scale=1.0

View file

@ -0,0 +1,42 @@
title = Yellow brick road
cards = checkout commit-auto reset-hard bisect-start bisect-good bisect-bad
[description]
(Please zoom out a bit using your mouse wheel! :D)
Oh no! You have lost your key at some point during the day!
Sure, you could look at every single commit in an attempt to find it - but there's a better way: your time machine has a built-in way to find the point in time where things went wrong quickly!
First, play the "bisect start" card. Then, go to a commit where you don't have the key, and play the "bisect bad" card. Likewise, go to a commit early on where you have the key, and play the "bisect good card".
After you've found the last good commit, reset the main branch to it. What happened to the key after you lost it?
[setup]
echo "You still have your key." > you
for i in {1..60}; do
if test $i -eq 18; then
echo "Your pocket is empty." > you
echo "Is on the ground." > key
fi
if test $i -eq 19; then
echo "Is holding a key in its beak." > bird
rm key
fi
if test $i -eq 20; then
rm bird
fi
git add .
git commit --allow-empty -m "$i"
done
[win]
test "$(git log --pretty=%s main | head -1)" -eq 17
[congrats]
Well done! :) The only problem is that you now have to walk all the way back home, again...

View file

@ -6,3 +6,5 @@ branches
conflict conflict
pull-push pull-push
rebase rebase
reorder
bisect

View file

@ -58,5 +58,23 @@
"command": "git cherry-pick", "command": "git cherry-pick",
"arg_number": 1, "arg_number": 1,
"description": "Repeat the specified action on top of your current timeline." "description": "Repeat the specified action on top of your current timeline."
},
{
"id": "bisect-start",
"command": "git bisect start",
"arg_number": 0,
"description": "Start looking for the commit where things got bad."
},
{
"id": "bisect-good",
"command": "git bisect good",
"arg_number": 0,
"description": "State that the current commit is good! When you're automatically transferred, keep playing the `good` and `bad` cards!"
},
{
"id": "bisect-bad",
"command": "git bisect bad",
"arg_number": 0,
"description": "State that the current commit is bad! When you're automatically transferred, keep playing the `good` and `bad` cards!"
} }
] ]