TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Donut math: how donut.c works

196 点作者 mr_o47超过 1 年前

6 条评论

ryandv超过 1 年前
Reminds me of this classic IOCCC entry implementing a flight simulator, where portions of the source code are formatted to resemble a plane:<p><a href="https:&#x2F;&#x2F;www.ioccc.org&#x2F;1998&#x2F;banks.orig.c" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.ioccc.org&#x2F;1998&#x2F;banks.orig.c</a><p><a href="https:&#x2F;&#x2F;www.ioccc.org&#x2F;years.html#1998_banks" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.ioccc.org&#x2F;years.html#1998_banks</a>
enigmarc超过 1 年前
Interesting.<p>Tangentially reminds me of my own animated GIF app that I made a while ago.<p><a href="https:&#x2F;&#x2F;www.gifcii.fun" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.gifcii.fun</a>
评论 #37554036 未加载
Agingcoder超过 1 年前
That’s the kind of thing that had me learn coding many years ago ( watching demoscene productions).
supportengineer超过 1 年前
What platform does this compile on? Didn&#x27;t work for me on a recent model M1 MacBook Pro.
评论 #37553251 未加载
评论 #37552991 未加载
munchler超过 1 年前
(2011)
jheriko超过 1 年前
reminds me of stuff i based in basic when i was a kid<p>made me laugh to see &quot;no raytracing&quot;, then immediate use of the perspective projection which is intersecting points and a plane along a ray lol...
评论 #37553751 未加载
评论 #37553655 未加载