programextensions/blender/demos/hex-pc.xtl

Blender, 9: HEX1000's program counter, an explainer made with the kit. The 64 addresses of a ROM page as cells in reading order; the program counter visits them in its shift register's order -- 0 1 3 7 15 31 63 62 ..., never +1 -- each cell lit as it is reached, colored by when, the path drawn behind. The order is X_eTaL-fpga's Hex1000 library (pinned at FPGA_COMMIT); the first hops in slow motion, the rest a time-lapse, after a title card, with captions. Made twice -- a YouTube video (1920 by 1080) and a Short (1080 by 1920) -- with a cue sheet and subtitles (.srt) to record narration against (PcWalk.xtl). Run: just demo blender hex-pc (a few minutes: 586 frames, twice)

source · imports bl: extensions/blender/lib/Blender.xtl; bp: extensions/blender/lib/Bpy.xtl; vd: extensions/blender/lib/Video.xtl; pw: extensions/blender/demos/PcWalk.xtl

_ : Int

function · line 18
_ ← "work/hexpc/run.py" ᵇˡw̲rite! ᵇᵖlauncher

_ : Int

function · line 19
_ ← "work/hexpc/hex-pc.cues.toml" ᵇˡw̲rite! (ᵖʷcueTexts, ᵖʷcueTable) ᵛᵈc̲ues 0

_ : Int

function · line 20
_ ← "work/hexpc/hex-pc.srt" ᵇˡw̲rite! (ᵖʷcueTexts, ᵖʷcueTable) ᵛᵈs̲rt 0

_ : Int

function · line 23
_ ← "work/hexpc/video.py" ᵇˡw̲rite! (ᵖʷs̲cene ᵛᵈlandscape) c̲at (ᵛᵈr̲ender "hex-pc.mp4") c̲at ᵛᵈreport

_ : Int

function · line 24
_ ← "work/hexpc/short.py" ᵇˡw̲rite! (ᵖʷs̲cene ᵛᵈshorts) c̲at (ᵛᵈr̲ender "hex-pc-short.mp4") c̲at ᵛᵈreport

r : Char

value · line 26
r ← "work/hexpc/run.py" ᵇˡr̲un! "work/hexpc/video.py work/hexpc/out"
Used in: lines

lines : Box Char

value · line 28
lines ← (n̲ot r = f̲irst "\n") p̲artition r

shortRun : Char

value · line 32
shortRun ← "work/hexpc/run.py" ᵇˡr̲un! "work/hexpc/short.py work/hexpc/out-short"
Used in: shortLines

shortLines : Box Char

value · line 33
shortLines ← (n̲ot shortRun = f̲irst "\n") p̲artition shortRun