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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Diffusion Limited Aggregation (1991)

45 点作者 hyperific11 个月前

1 comment

bun_terminator11 个月前
DLAs were my &quot;breakthrough&quot; in college. Where I could first apply my self-learned c++ chops to code some fast DLA number crunching including a real-time OpenGL visualization. Professors were happy to pay me money for code from there on, which in hindsight kickstarted my career.<p>DLAs have some interesting properties but aren&#x27;t really important in the grand scheme of things. They also can&#x27;t be parallelized (or it&#x27;s really hard). And the quality of the results highly depends on the quality of the RNG. It&#x27;s also an interesting problem to quickly appreciate memory-boundness as a performance bottleneck. In general it&#x27;s a good problem for a beginner to think about performance and how to approach optimization as the general logic is almost trivial.<p>Back then I also wrote a web-based 3D DLA simulation with a threejs visualization. But as so often is the fate of web-apps: This no longer runs today. Something about a used dependency (highcharts) being blocked.<p>Fun memories, together with the equally cherished Ising model. Seeing these patterns still puts a smile on my face. Btw they can be made to look nicer if you simulate a larger lattice and sample it down to a smaller resolution to emulate anti-aliasing.
评论 #40799009 未加载