WebGL 灰-斯科特探索器 (2012)
WebGL Gray-Scott Explorer (2012)

原始链接: http://www.mrob.com/pub/comp/xmorphia/ogl/index.html

MROB WebGL Gray-Scott 浏览器允许你观察和互动反应扩散图案。这些方程可以产生各种各样的图案,Xmorphia Gray-Scott 页面上有详细解释。使用鼠标绘图,交替点击“高U”(红色)和“低U”(蓝色)区域。“初始化”重置图案,提供空白或随机状态。预设演示了使用希腊字母分类的各种图案类型(在 Pearson 分类页面上解释)。 尝试诸如“负泡(sigma)”、“蠕虫(mu)”、“图灵图案(delta)”或“自复制斑点(lambda)”之类的预设。通过点击“初始化”创建特定的背景颜色并用鼠标绘图,观察图案如何从不同的起始条件演变。有些图案可能需要特定的起始颜色或绘图技巧。 使用滑块调整参数 'F' 和 'k' 以进行细微的更改。通过点击色块来自定义配色方案。使用“导入/导出”框保存和加载首选设置。注意:模拟需要 GL 扩展 framebuffer_object 和 texture_float。

一个Hacker News的帖子讨论了Gray-Scott反应扩散系统图灵完备性的可能性,起因是一篇关于WebGL Gray-Scott浏览器的帖子。 gnramires想知道是否有关于这个主题的研究。danwills分享了他对耦合试剂的实验,将它与康威生命游戏(GOL)进行类比,并强烈认为其具有普遍性。他认为稳定的NAND门基元是关键。 gnramires进一步阐述了需要稳定、可再生且抗扰动的门,提到了类似于电子门的扇入/扇出需求。线交叉也被讨论为普遍性可能需要的特性,以及在二维系统中实现它们以及生命在三维空间进化的原因的困难。 shortrounddev2指出该浏览器无法运行该浏览器,可能是由于隐私设置限制。
相关文章
  • WebGL水体 (2010) 2025-05-10
  • (评论) 2023-12-01
  • (评论) 2023-10-28
  • 图灵绘画 2025-04-20
  • Show HN:有关 WebGPU 编程的免费电子书 2024-08-06

  • 原文
    WebGL Gray-Scott Explorer at MROB

    The Gray-Scott equations can produce most of the types of patterns that are possible in reaction-diffusion systems. For a complete description of Gray-Scott patterns, with many examples and videos, go to my Xmorphia Gray-Scott page.

    Instructions:

    Use the mouse to draw in the large image area. Alternate clicks paint "high-U" (red in the default colours) or "low-U" (blue).

    The init button makes the pattern blank, or random. Click it multiple times until you get what you want.

    Use the list of presets to see examples of patterns from the wide diversity of types available. Each preset has a classification (usually a Greek letter); these are explained on the separate page Pearson's Classification (Extended) of Gray-Scott System Parameter Values.


    Things to try with each preset : (assuming that you're using the default colour scheme -- reloading the page will restore the default colours.)
    • Negative bubbles (sigma) : Hit Init until you get blue spots on a red background. They will grow, but not join; you'll end up with blue bubbles separated by red lines.
    • Positive bubbles (rho) : Hit Init until you get a red and blue "Swiss cheese" type pattern. Small bubbles will coalesce into larger ones.
    • Precritical bubbles (rho/kappa) : Start with either of the preceding examples (sigma or rho), then switch to this one.
    • Worms and loops (kappa) : Hit Init until you get blue spots on a red background.
    • Stable solitons (nu) : Hit Init until you get a blank red background. Then draw a few individual blue dots close to each other. They will either merge into one or repel each other.
    • The U-Skate World (pi) : Start with a blank all-blue background, then slowly paint a small letter "u" in red. If you get it just right, it will become a U-Skate and travel across the screen. Try making U-Skates crash into each other.
    • Worms (mu) : Start with a random pattern or by scribbling in blue on a blank red background.
    • Worms join into maze (kappa) : Start the same way you did with "Worms (mu)" and notice the differences.
    • Negatons (iota) : On a plain red background, scribble randomly with blue. Watch how it becomes an aqua-green screen with some yellow dots that arrange into hexagonal-grid rows.
    • Turing patterns (delta) : Hit Init until you get a plain green background, then click in it 3 or 4 times with the mouse. It seems that nothing happened -- but stop clicking and wait. A pattern will emerge seemingly from nowhere.
    • Chaos to Turing negatons (beta) : Do the same thing as with "Negatons (iota)" or "Turing patterns (delta)". Note similarities and differences.
    • Fingerprints (theta/kappa) : Start with a random pattern or by scribbling in blue on a blank red background.
    • Chaos with negatons (beta/delta) : Start as suggested for "Turing patterns (delta)", or with either or the random patterns.
    • Spots and worms (eta) : Start the same way you did with "Worms (mu)" and notice the differences.
    • Self-replicating spots (lambda) : Hit Init until you get a single blue-green spot on a red background, then watch it multiply.
    • Super-resonant mazes (theta) : Hit Init until you get the blank green background, then click just once with the mouse.
    • Mazes (kappa) : Start with a random pattern or by scribbling in blue on a blank red background.
    • Mazes with some chaos (gamma) : Same suggestions as for "Mazes (kappa)"; after you get a full maze try switching the preset back and forth between these two.
    • Chaos (beta) : Hit Init until you get the blank green background, then click just once with the mouse.
    • Pulsating solitons (zeta) : Start as with "Self-replicating spots (lambda)" and note the different behaviour that starts after the screen is full.
    • Warring microbes (epsilon) : Start with a blank red background, then add two or three blue dots.
    • Spots and loops (alpha) : Start with a blank red background, then add a single blue dot.
    • Moving spots (alpha) : Start with a blank red background, then add a single blue dot.
    • Waves(xi) : Use Init until you get a plain greenish-yellow background, then use the mouse to draw a circle. This should produce long-lasting spiral waves.

    You may also change F, k directly with the sliders. Make small, gradual changes (if you change these quickly, the pattern will probably vanish)

    Edit the colour scheme by clicking on the little squares below the colour bar to access a colour-picker dialogue.

    When you find values of F, k, and colour scheme you like, you can save them by copying the text out of the box labeled "Import/export". To restore previously-saved settings, paste the text into the box and hit Enter.

    This simulation requires the GL extensions framebuffer_object and texture_float. If you cannot see the simulation your system probably lacks at least one of these extensions.

    In Google Chrome, you can see the available GL extensions by putting chrome://gpu in the address bar.

    联系我们 contact @ memedata.com