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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: N-Body simulation using WebAssembly

13 点作者 roknovosel超过 6 年前

2 条评论

petermcneeley超过 6 年前
Uses the Barnes-Hut algorithm to avoid O( n^2 ) force calculations in favor of O(n log n). Simple nearest neighbor tracking cannot be use in gravity simulations as gravity has an effective infinite ranged potential. <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Barnes%E2%80%93Hut_simulation" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Barnes%E2%80%93Hut_simulation</a>
hazz99超过 6 年前
I just get a blank, dark screen. Recent version of Firefox.
评论 #18038049 未加载