more useful options | |
PerlMonks |
"Terminal Velocity", a better Linux terminal graphics demoby cavac (Parson) |
on Feb 18, 2024 at 12:36 UTC ( [id://11157774]=CUFP: print w/replies, xml ) | Need Help?? |
Last week i released a simple graphics demo for the Linux terminal (Fun with terminal color). The low framerate and the mostly static graphics bothered me a bit. So, i , uhm did it yet again. Another demo, this time using Inline::CPP and massaged versions of tinyraytracer and tinyraycaster to provide some actual graphical content. As a matter of fact, Inline::CPP didn't work for my borrowed(*) code, and my understanding of CPP is a 20 years out of date. So i override the Inline::CPP RecDescent module to ignore my bugs. Hey, it's not production code, just a demo... As in the last demo, your Terminal needs to support full RGB colors and have a size of at least 270x60 in size (characters, not pixels). SDL is sort-of-optional this time; the demo will run without sound if it can't load SDL. And as said above, you'll need to install Inline::CPP as well. Here's the mercurial repository: https://cavac.at/public/mercurial/demos/terminalvelocity/ And the YouTube video: https://www.youtube.com/watch?v=MWcuI2SXA-A. OBS and YT compression did munge the quality a bit, though. Probably my fault for not understanding the OBS settings... (*) "but with every intention of giving it back"
PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP
Back to
Cool Uses for Perl
|
|