NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Movycat – A terminal movie player written in Zig (github.com)
JaggerJo 11 hours ago [-]
How does it render pixel data to the terminal?

I've stumbled over sixels [1], but movy seems to use something else that also enables color output and a higher resolution?

[1]: https://en.wikipedia.org/wiki/Sixel

EDIT:

> It renders frames as ANSI half block characters..

Seems like the resolution looks better than it actually is in the screenshots. It effectively seems to be 2 vertical Pixels per character.

simonmic 29 minutes ago [-]
I had the same question. The demo video does not look like half blocks. More details of the terminal, font, window config used would be illuminating.
anthk 3 days ago [-]
I'd love Metal Warrior (and Hessian) ported to SDL2 and some 6502 CPU library similar to what the Super Mario World port for PC it's using to emulate 6502's Big Brother.

Also, the author it's amazing; I was looking for this https://github.com/M64GitHub/6510-emulator-c in order to run Metal Warrior 1-4 (and a few more c64 demos) under my n270 ATOM based netbook without getting mad with VICE. I already use FastSID instead of resid and I rebuilt it against SDL1 and disabled some OpenGL effects, but it doesn't run 100% fast.

Yes, I tried with x64 instead of x64sc.

Maybe one day I'll be competent enough to create some simple SDL2 based emulator with that core plus the 6502...

codethief 3 days ago [-]
First off, I know next to nothing about the C64, so please bear with me. :)

That being said, did you try zig64[0]? AFAIU this is the Zig equivalent/rewrite of the emulator you mentioned:

> I was looking for this https://github.com/M64GitHub/6510-emulator-c […] but it doesn't run 100% fast.

[0]: https://github.com/M64GitHub/zig64

teddyh 1 days ago [-]
If this leads to more and more advanced graphic features in terminals, how long before MGR is effectively reimplemented?
moondev 18 hours ago [-]
> (Excerpt from the 64k Demo "Universal Sequence" from the amazing demo group "Conspiracy")

First time I have seen this. Incredible music and intense gfx all packaged under 64k? Impressive as hell.

foobarqux 1 days ago [-]
mpv can play to the terminal using ascii codes or sixel/kitty-protocol.
anthk 3 days ago [-]
Just use mplayer -vo aa (or mpv).

For terminals and the framebuffer, either fbdev or KMS.

aidenn0 1 days ago [-]
Movycat looks most like mpv's "-vo tct" option. It uses ASCII half-blocks which is the same as what TCT defaults do.

(Playing animated content with "-vo tct --vo-tct-256=yes" is a great way to get early-90s video game vibes.

3 days ago [-]
3 days ago [-]
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 03:53:03 GMT+0000 (Coordinated Universal Time) with Vercel.