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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: De Jong Attractors

1 点作者 fogleman3 个月前
Yesterday&#x27;s post [1] about the &quot;Kaos&quot; screensaver led me down a rabbit hole and I ended up implementing this demo of Peter de Jong&#x27;s attractors:<p><pre><code> x&#x27; = sin(a * y) - cos(b * x) y&#x27; = sin(c * x) - cos(d * y) </code></pre> I added a little flair by blurring the point based on its distance from the previous point (how &quot;fast&quot; the attractor is moving).<p>I added a bunch of controls with a lilgui control panel. Try it out! Works fine on mobile but easiest to play with the controls on desktop.<p>[1]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42963346">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42963346</a>

暂无评论

暂无评论