sourceextensions/blender/demos/hex-keys-leds-run.xtl

1⍝│ HEX1000-keys-leds computing C0DE+BEEF= through physical key contacts 2⍝│ and MAX7219 serial output: the complete pinned Nano 1K simulation, 3⍝│ checked against the Hex1000 and Front models at every active clock. 4⍝│ Title: HEX1000-keys-leds: execution 5⍝│ Command: just ext blender hex-keys-leds-run 6⍝│ Run: just ext blender hex-keys-leds-run 7"bl:" u̲se< "Blender" 8"bp:" u̲se< "Bpy" 9"vd:" u̲se< "Video" 10"kr:" u̲se< "KeysRun" 11 12ʰc̲heck ← { r → 13 n̲ot "exit 0\nerrors 0\n" m̲atch 16 t̲ake r ? ⎕P̲ANIC r 14 "exit 0; errors 0" 15} 16raw ← f̲loor n̲umbers ⎕N̲GET "work/keysrun/samples.txt" 17samples ← (((t̲ally raw) d̲iv 26) c̲at 26) r̲eshape raw 18word ← f̲irst f̲loor n̲umbers ⎕N̲GET "work/keysrun/spi-word.txt" 19_ ← "work/keysrun/run.py" ᵇˡw̲rite! ᵇᵖlauncher 20_ ← "work/keysrun/hex-keys-leds-run.cues.toml" ᵇˡw̲rite! (ᵏʳcueTexts, ᵏʳcueTable) ᵛᵈc̲ues 0 21_ ← "work/keysrun/hex-keys-leds-run.srt" ᵇˡw̲rite! (ᵏʳcueTexts, ᵏʳcueTable) ᵛᵈs̲rt 0 22_ ← "work/keysrun/video.py" ᵇˡw̲rite! ((ᵛᵈlandscape, samples, word) ᵏʳs̲cene 0) c̲at (ᵛᵈr̲ender "hex-keys-leds-run.mp4") c̲at ᵛᵈreport 23_ ← "work/keysrun/short.py" ᵇˡw̲rite! ((ᵛᵈshorts, samples, word) ᵏʳs̲cene 0) c̲at (ᵛᵈr̲ender "hex-keys-leds-run-short.mp4") c̲at ᵛᵈreport 24"rendering HEX1000-keys-leds landscape ..." 25ʰc̲heck "work/keysrun/run.py" ᵇˡr̲un! "work/keysrun/video.py work/keysrun/out" 26"rendering HEX1000-keys-leds Short ..." 27ʰc̲heck "work/keysrun/run.py" ᵇˡr̲un! "work/keysrun/short.py work/keysrun/out-short" 28ᵇˡr̲ead "work/keysrun/out/report.txt"