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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

T * sin (t)' ≈ Ornamented Christmas Tree (2013)

401 点作者 ryeguy_245 个月前

14 条评论

ryeguy_245 个月前
Merry Christmas HN. Ever year, the original T * sin(t) Christmas tree gets posted. This year, I wanted to call out my favorite modification by Silvia Hao. It’s beautiful. One year, I’ll try to add to its beauty. But for now, I’ll just appreciate it. She posted it here: <a href="https:&#x2F;&#x2F;community.wolfram.com&#x2F;groups&#x2F;-&#x2F;m&#x2F;t&#x2F;175891" rel="nofollow">https:&#x2F;&#x2F;community.wolfram.com&#x2F;groups&#x2F;-&#x2F;m&#x2F;t&#x2F;175891</a>
评论 #42509290 未加载
评论 #42507192 未加载
jll295 个月前
That&#x27;s a beautiful animation (and useful maths ;-).<p>In the spirit of minimalism, Merry Christmas to all HNers with this little but time-tested command:<p><pre><code> $ xmastree 5 9 2024` * *** ***** ******* * *** ***** ******* * *** ***** ******* * *** ***** ******* *** *** *** *** </code></pre> Source: <a href="https:&#x2F;&#x2F;github.com&#x2F;jochenleidner&#x2F;ltools&#x2F;blob&#x2F;main&#x2F;src&#x2F;bin&#x2F;xmastree.rs">https:&#x2F;&#x2F;github.com&#x2F;jochenleidner&#x2F;ltools&#x2F;blob&#x2F;main&#x2F;src&#x2F;bin&#x2F;xm...</a>
Lerc5 个月前
I made this Bauble dweet as a Christmas themed exercise in 2020 <a href="https:&#x2F;&#x2F;www.dwitter.net&#x2F;d&#x2F;20993" rel="nofollow">https:&#x2F;&#x2F;www.dwitter.net&#x2F;d&#x2F;20993</a><p><pre><code> function u(t) { t||(c.width&#x2F;=6) &#x2F;&#x2F; shrink canvas to 1&#x2F;6 at t==0 M=a=&gt;x.filter=a?&quot;none&quot;:&quot;blur(1px)brightness(90%&quot; M();x.drawImage(c,0,0) for(i=n=90;--i;) x.fillRect( 160-S(X=i+t*4)*(1-(v=C(i*n))*v)*n, v*n+n, 4, 2, x.fillStyle=&quot;#F&quot;+(i+10),M(C(X)&lt;0)) } </code></pre> with u(t) is called 60 times per second. t: elapsed time in seconds. c: A 1920x1080 canvas. x: A 2D context for that canvas. S: Math.sin C: Math.cos
foobar19625 个月前
My first time seeing it. Thanks for posting, and thanks to HN for being the kind of place that stuff like this gets posted.
leeoniya5 个月前
<a href="https:&#x2F;&#x2F;github.com&#x2F;anvaka&#x2F;atree">https:&#x2F;&#x2F;github.com&#x2F;anvaka&#x2F;atree</a><p><a href="https:&#x2F;&#x2F;js1k.com&#x2F;2010-xmas&#x2F;demo&#x2F;856" rel="nofollow">https:&#x2F;&#x2F;js1k.com&#x2F;2010-xmas&#x2F;demo&#x2F;856</a><p><a href="http:&#x2F;&#x2F;www.romancortes.com&#x2F;blog&#x2F;how-i-did-the-1kb-christmas-tree&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.romancortes.com&#x2F;blog&#x2F;how-i-did-the-1kb-christmas-...</a>
评论 #42507876 未加载
theodpHN5 个月前
GIF Xmas Tree, GIF Xmas Tree... <a href="https:&#x2F;&#x2F;communities.sas.com&#x2F;t5&#x2F;Graphics-Programming&#x2F;Fun-with-SAS-ODS-Graphics-GIF-Xmas-Tree-GIF-Xmas-Tree&#x2F;td-p&#x2F;708038" rel="nofollow">https:&#x2F;&#x2F;communities.sas.com&#x2F;t5&#x2F;Graphics-Programming&#x2F;Fun-with...</a>
belter5 个月前
Happy Festive Season! A nice one from Desmos: <a href="https:&#x2F;&#x2F;www.desmos.com&#x2F;calculator&#x2F;wgunyn2yd0" rel="nofollow">https:&#x2F;&#x2F;www.desmos.com&#x2F;calculator&#x2F;wgunyn2yd0</a>
bazzargh5 个月前
Here&#x27;s one I did for the bbcmicrobot using a Chaos Game approach<p><a href="https:&#x2F;&#x2F;bbcmic.ro&#x2F;?t=8W1n6" rel="nofollow">https:&#x2F;&#x2F;bbcmic.ro&#x2F;?t=8W1n6</a>
noduerme5 个月前
I went to Hopscotch in Portland with some friends tonight, tried out the &quot;quantum trampoline&quot; [0]... spent most of my time in socks wondering if that was written in plain ol&#x27; javascript or p5. Happy Holidays, folks.<p>[0] <a href="https:&#x2F;&#x2F;www.behance.net&#x2F;kuflex?locale=en_US#" rel="nofollow">https:&#x2F;&#x2F;www.behance.net&#x2F;kuflex?locale=en_US#</a>
评论 #42522213 未加载
theodpHN5 个月前
A &#x27;Traveling Santa Tour&#x27; Through U.S. Capital Cities <a href="https:&#x2F;&#x2F;communities.sas.com&#x2F;t5&#x2F;New-SAS-User&#x2F;Fun-With-SAS-ODS-Graphics-A-Traveling-Santa-Tour-Through-U-S&#x2F;td-p&#x2F;522129" rel="nofollow">https:&#x2F;&#x2F;communities.sas.com&#x2F;t5&#x2F;New-SAS-User&#x2F;Fun-With-SAS-ODS...</a>
theodpHN5 个月前
Damped Oscillation Xmas Tree <a href="https:&#x2F;&#x2F;communities.sas.com&#x2F;t5&#x2F;Graphics-Programming&#x2F;Fun-With-SAS-ODS-Graphics-Damped-Oscillation-Xmas-Tree&#x2F;m-p&#x2F;786718&#x2F;highlight&#x2F;true#M22449" rel="nofollow">https:&#x2F;&#x2F;communities.sas.com&#x2F;t5&#x2F;Graphics-Programming&#x2F;Fun-With...</a>
Alifatisk5 个月前
I think this would be perfect on openprocessing.org, I just don&#x27;t know how to implement that.
BobbyTables25 个月前
Now make 30% of the bulbs randomly burn out :)
评论 #42506990 未加载
layer85 个月前
Or a drill.
评论 #42506686 未加载