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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Traverser, generate hypnotising graph/network animations

1 点作者 SkepticMystic大约 1 年前
A quick little project to generate deterministic graph animations based on modulo arithmetic.<p>Rule: Given n nodes and a list of steps, start at node 0, move steps[0] nodes clockwise, then steps[1], and so on. After the last step, wrap around to the first step and continue. Stop once the last step in the list takes you to node 0 again.<p>Features: - Randomise inputs - Save output as PNG - Different edge styles - Change animation speed - Create shareable links to recreate a graph<p>Give it a try, let me know your thoughts :) The default inputs are random each time, so you might get a boring one. It&#x27;s very satisfying to keep hitting &quot;Randomise&quot;, and watch as structure emerges. Sometimes you get a &quot;direct&quot; path to the finish, and end up with an asymmetric graph.<p>The code can be found at <a href="https:&#x2F;&#x2F;github.com&#x2F;SkepticMystic&#x2F;traverser-sk">https:&#x2F;&#x2F;github.com&#x2F;SkepticMystic&#x2F;traverser-sk</a>

暂无评论

暂无评论