Skip to content

zackradisic/tgpu

Repository files navigation

tgpu

A stupid experiment in rendering 3D graphics to the terminal using the kitty graphics protocol

I've only tested it with Ghostty.

Trying it out

View the demo with different scenes:

cargo run --release

Run shadertty, shadertoy but it runs in your terminal:

cargo run --release -- --shadertoy shader.glsl --ichannel0=perlin_noise.png

How it works

Things to note

  • I've only tested this on macOS and ghostty
  • This only works for terminals which support the kitty graphics protocol
  • There is no way to do vsync (that I know of)
  • This was vibecoded in a weekend for fun

About

Experimenting with rendering 3D graphics in the terminal

Resources

Stars

34 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors