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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Conway's Game of Life on Images

2 点作者 tmrtsmith超过 6 年前

1 comment

BZH314超过 6 年前
Fun stuff, thanks for sharing<p>&gt; You can come up with a million rules about how the colour changes, whether the colour of a new cell is inherited from its parents, whether the life algorithm is applied to each of the RGB(A?) layers separately.<p>Which ones have you tried so far?<p>Curious what simple rules do to images. For instance with a majority rule: changing the pixel color only if there is a majority of pixels with the same color. It leads to pretty color-stable patterns [1] [2] in our Twitch Plays Conways&#x27; Game of Life [3], but that&#x27;s with few colors and pixels.<p>On an image, maybe it could just make it sparkle and not destroy it like it seems to do on John Conway&#x27;s face?<p>Maybe a comparison of different rules in your next blog post?<p>----<p>[1] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=JH5RzNnamW0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=JH5RzNnamW0</a> (Epic Toy Store Pixel Art)<p>[2] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RKxKac5YHag" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=RKxKac5YHag</a> (Epic Masterpiece Pixel Art Decoration)<p>[3] <a href="https:&#x2F;&#x2F;www.twitch.tv&#x2F;bzh314" rel="nofollow">https:&#x2F;&#x2F;www.twitch.tv&#x2F;bzh314</a> (there&#x27;s a multicolor pattern going on right now live with an Octagon 4)