Live data from Hacker News

Show HN: Rotating torus in terminal (but with kitty graphics protocol)

andreadimatteo.com

1–7 of 7 posts

Show HN: Rotating torus in terminal (but with kitty graphics protocol)

#1
Hi HN,

I'm taking Computer Graphics @ Stanford this summer and wanted to express some very simple concepts I had in mind. That's why I wrote a rotating torus in C. Going from writing a ray-tracer that works in Blender to pure C with no dependencies feels relaxing. Wanted to try Kitty Graphics Protocol on the way, rendering images in terminal felt cool.

Open to comments and suggestions.

Show HN: Rotating torus in terminal (but with kitty graphics protocol)
andreadimatteo.com

Re: Show HN: Rotating torus in terminal (but with kitty graphics protocol)

#7
Man I love toruses/tori

For those inclined to multivariable calculus, do your dopamine crow brain a favor and set pencil to paper.

It's super-intuitive because everything's a circle. The equation for calculating volume is beautiful, and figuring it out is fun.

Just thinking about a wave equation for the graphic is interesting