Back to News
Advertisement
ddeotman 6 days ago 2 commentsRead Article on andreadimatteo.com

ES version is available. Content is displayed in original English for accuracy.

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.

Advertisement

Discussion (2 Comments)Read Original on HackerNews

pekim29 minutes ago
The torus.c file start with this include directive.

  #include <_time.h>
I'm not sure what that header file is, but commenting it out allowed for a clean compile for me
spwa425 minutes ago
Very cool.