sourceextensions/blender/demos/hex-pc.xtl

1⍝│ Blender, 9: HEX1000's program counter, an explainer made with the 2⍝│ kit. The 64 addresses of a ROM page as cells in reading order; the 3⍝│ program counter visits them in its shift register's order -- 0 1 3 7 4⍝│ 15 31 63 62 ..., never +1 -- each cell lit as it is reached, colored 5⍝│ by when, the path drawn behind. The order is X_eTaL-fpga's Hex1000 6⍝│ library (pinned at FPGA_COMMIT); the first hops in slow motion, the 7⍝│ rest a time-lapse, after a title card, with captions. Made twice -- 8⍝│ a YouTube video (1920 by 1080) and a Short (1080 by 1920) -- with a 9⍝│ cue sheet and subtitles (.srt) to record narration against 10⍝│ (PcWalk.xtl). 11⍝│ Run: just demo blender hex-pc (a few minutes: 586 frames, twice) 12 13"bl:" u̲se< "Blender" 14"bp:" u̲se< "Bpy" 15"vd:" u̲se< "Video" 16"pw:" u̲se< "PcWalk" 17 18_ ← "work/hexpc/run.py" ᵇˡw̲rite! ᵇᵖlauncher 19_ ← "work/hexpc/hex-pc.cues.toml" ᵇˡw̲rite! (ᵖʷcueTexts, ᵖʷcueTable) ᵛᵈc̲ues 0 20_ ← "work/hexpc/hex-pc.srt" ᵇˡw̲rite! (ᵖʷcueTexts, ᵖʷcueTable) ᵛᵈs̲rt 0 21"the cue sheet (work/hexpc/hex-pc.cues.toml):" 22ᵇˡr̲ead "work/hexpc/hex-pc.cues.toml" 23_ ← "work/hexpc/video.py" ᵇˡw̲rite! (ᵖʷs̲cene ᵛᵈlandscape) c̲at (ᵛᵈr̲ender "hex-pc.mp4") c̲at ᵛᵈreport 24_ ← "work/hexpc/short.py" ᵇˡw̲rite! (ᵖʷs̲cene ᵛᵈshorts) c̲at (ᵛᵈr̲ender "hex-pc-short.mp4") c̲at ᵛᵈreport 25"rendering 586 frames at 1920 by 1080 with Blender (EEVEE) ..." 26r ← "work/hexpc/run.py" ᵇˡr̲un! "work/hexpc/video.py work/hexpc/out" 27"the run, and the error lines in Blender's log:" 28lines ← (n̲ot r = f̲irst "\n") p̲artition r 29d̲isclose 1 s̲elect lines 30d̲isclose 2 s̲elect lines 31"rendering the Short, 586 frames at 1080 by 1920 ..." 32shortRun ← "work/hexpc/run.py" ᵇˡr̲un! "work/hexpc/short.py work/hexpc/out-short" 33shortLines ← (n̲ot shortRun = f̲irst "\n") p̲artition shortRun 34d̲isclose 1 s̲elect shortLines 35d̲isclose 2 s̲elect shortLines 36"what Blender made:" 37ᵇˡr̲ead "work/hexpc/out/report.txt" 38"the files (bytes, path):" 39ᵇˡf̲iles "work/hexpc"