4 ms·
Look at this guy's code and you start to understand how we'll get to the Matrix situation of being able to watch scrolls of random-looking symbols and picture p
by erikpukinskis 10y ago
Look at this guy's code and you start to understand how we'll get to the Matrix situation of being able to watch scrolls of random-looking symbols and picture people and food and cities in our head.
- arcfide 10y agoIf you'd like to view the "Matrix" in APL: {⎕←(156+?72⍴54)⊃¨⊂⎕AV}⍣≡⊢⍬ This assumes you have at least a 72 character screen display in your Dyalog APL session.
- arcfide 10y agoAnd here's a slightly more sophisticated version that mimics the animation you see on the Matrix: T←41 80⍴' ' )ed T {⎕DL÷16⊣T∘←⎕AV[156+?80⍴54]⍪1↓(-0=?80⍴5)⊖T}⍣≡⊢0 In your Dyalog APL session, type the first two lines, put the opened edit window somewhere you can see it, then go back to the session repl and enter the third line. On Linux's terminal you use the APL+Tab key to switch between windows on the console. For best effect, change your edit window theme to use green on black. :-)