~andreadimatteo

torus

ยท

Hi, this is Andrea.

This summer I'm taking a Computer Graphics Course @ Stanford and I thought: "why not implementing a rotating torus in the terminal in C?".

I know, this might sound a bit amarcod, but, after writing a ray-tracer in Python, doing some very simple things from scratch with no dependecies feels relaxing. I felt I had so many concepts in mind and just wanted to express some of them.

So there it is, a speedrun completed in 45:27,06 with no WEB access and no GenAI tools (I know, this is not impressive at all, and I'm not trying to impress anyone. But be advised, only the parametric equations of a torus won't be enough :) ).

During the course might come back to add or fix some stuff or just forget about this project forever.

Here's a video demo:

demo