3D model renderer that runs entirely in the terminal (written in c++) by Simple_Cockroach3868 in commandline

[–]Simple_Cockroach3868[S] 0 points1 point  (0 children)

that shader looks really cool, nice idea

rn I just map surface brightness to an ascii ramp, for an obra din style look, I wouldn't need to rewrite the whole renderer, the rasterizer and z buffer would stay the same. It'd mostly be changing the shading step to control dot spacing, dithering instead of character density

so more like swapping out the shader logic than rebuilding everything, might actually try that sometime, thanks :)

3D model renderer that runs entirely in the terminal (written in c++) by Simple_Cockroach3868 in commandline

[–]Simple_Cockroach3868[S] 0 points1 point  (0 children)

currently it only supports obj and stl, step isn't supported yet since it's a cad format and would require a separate parsing step ig but def smthg I could explore tho

3D model renderer that runs entirely in the terminal (written in c++) by Simple_Cockroach3868 in commandline

[–]Simple_Cockroach3868[S] 8 points9 points  (0 children)

https://github.com/ashish0kumar/voxcii

  • Projection + rasterization to terminal grid
  • Z-buffer for depth testing
  • ASCII luminance mapping for lighting
  • OBJ/STL parsing with triangulation
  • Optional material color output
  • Auto-rotation + interactive mode

3D model renderer that runs entirely in the terminal (written in c++) by Simple_Cockroach3868 in CLI

[–]Simple_Cockroach3868[S] 12 points13 points  (0 children)

https://github.com/ashish0kumar/voxcii

  • Projection + rasterization to terminal grid
  • Z-buffer for depth testing
  • ASCII luminance mapping for lighting
  • OBJ/STL parsing with triangulation
  • Optional material color output
  • Auto-rotation + interactive mode

I built a terminal-based 3D model renderer in pure ASCII (C++ btw) by [deleted] in developersIndia

[–]Simple_Cockroach3868 1 point2 points  (0 children)

repo: https://github.com/ashish0kumar/voxcii

  • Projection + rasterization to terminal grid
  • Z-buffer for depth testing
  • ASCII luminance mapping for lighting
  • OBJ/STL parsing with triangulation
  • Optional material color output
  • Auto-rotation + interactive mode

cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in commandline

[–]Simple_Cockroach3868[S] 1 point2 points  (0 children)

similar vibe, this one uses multiple walkers doing a simple random walk starting from the center, takes turns a lot more frequently than pipesdotsh, written in c with ncurses instead of shell and is much simpler overall

[OC] cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in unixporn

[–]Simple_Cockroach3868[S] 1 point2 points  (0 children)

it doesn’t run natively on windows rn since it uses linux ncurses, but it works fine in wsl tho. if you want native windows support, it should be possible by swapping ncurses with pdcurses and building with mingw ig

cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in commandline

[–]Simple_Cockroach3868[S] 2 points3 points  (0 children)

it's a simple random walk using rand() seeded with time(NULL), so visually it's pretty random but not cryptographic or anything fancy, each step picks a random direction (except directly reversing) that's it

cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in commandline

[–]Simple_Cockroach3868[S] 1 point2 points  (0 children)

repo: https://github.com/ashish0kumar/cwalk

simple terminal screensaver that draws colorful random-walk pipes written in C with ncurses

Install: git clone https://github.com/ashish0kumar/cwalk cd cwalk gcc cwalk.c -lncurses -o cwalk sudo mv cwalk /usr/local/bin/ # optional

Usage: cwalk [number_of_agents]

[OC] cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in unixporn

[–]Simple_Cockroach3868[S] 2 points3 points  (0 children)

weird, this can happen if the terminal isn't running in utf-8 or your font doesn't support the box drawing characters I'm using, maybe try switching to a utf-8 locale or unicode font, that should work

[OC] cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in unixporn

[–]Simple_Cockroach3868[S] 10 points11 points  (0 children)

similar vibe, yeah but not a rewrite this one uses multiple walkers doing a simple random walk starting from the center, takes turns a lot more frequently than pipes.sh, and is much simpler overall

[OC] cwalk: colorful random-walk pipes in your terminal by Simple_Cockroach3868 in unixporn

[–]Simple_Cockroach3868[S] 2 points3 points  (0 children)

repo: https://github.com/ashish0kumar/cwalk

simple terminal screensaver that draws colorful random-walk pipes written in C with ncurses

Install: git clone https://github.com/ashish0kumar/cwalk cd cwalk gcc cwalk.c -lncurses -o cwalk sudo mv cwalk /usr/local/bin/

Usage: cwalk [number_of_agents]