#3D terminal art
1 messages · Page 1 of 1 (latest)
Not exactly, no. Normally, a single character in a terminal (like the letter A or W) is a rectangle. It is roughly twice as tall as it is wide (a 1:2 aspect ratio). If you try to draw graphics by just coloring the background of normal spaces, everything looks incredibly stretched and meh. To fix this, my tool uses a special unicode character called the upper half block. Because it's exactly half the height of a normal character, it splits that tall rectangle into two perfect squares. By doing this across the entire screen, VinZ literally doubles the vertical resolution of the terminal. Because those half blocks are perfect squares, the math renders at a true 1:1 aspect ratio, giving you those incredibly smooth 3D shapes.
For pixel perfect there are some protocols with the most wide-spread one being SIXEL (which also happens to be the only one that is supported by the Windows Terminal; something to consider for cross-platform things)
ive made vga output for my kernel before but this is something else if its truly not relying on anything
From the repo: VinZ now features a custom built 3D vector math and raymarching engine written completely from scratch. Without relying on any external graphics APIs (like OpenGL or Vulkan), VinZ mathematically simulates 3D space, calculates lighting, and renders dynamic geometry.
Only thing you need is a terminal emulator with true color support.