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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Recursive Game of Life

1072 点作者 alden5超过 2 年前

59 条评论

yshklarov超过 2 年前
The author says: (<a href="https:&#x2F;&#x2F;twitter.com&#x2F;shr_id&#x2F;status&#x2F;1602691898162184192" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;shr_id&#x2F;status&#x2F;1602691898162184192</a>)<p><pre><code> In the beginning I didn&#x27;t think it was possible without cheating something but finally found a way to &quot;build everything perfectly&quot; Due to the inifinite recursion, each level is aperiodic for both space and time, and you&#x27;ll never see the same pattern no matter how much you scroll</code></pre>
Jerrrry超过 2 年前
At a certain draw distance (probably&#x2F;hopefully depending on framerate and other specs), the platform replaces the individual cells with the OTCA metapixel, effectively giving the illusion that it is GoL all the way down.<p>Neat, even when you know the trick.<p><a href="https:&#x2F;&#x2F;conwaylife.com&#x2F;wiki&#x2F;OTCA_metapixel" rel="nofollow">https:&#x2F;&#x2F;conwaylife.com&#x2F;wiki&#x2F;OTCA_metapixel</a>
评论 #33980360 未加载
评论 #33981581 未加载
评论 #33981861 未加载
评论 #33980540 未加载
singularity2001超过 2 年前
Wow! At the speed of around 0.15 you can see all the relevant computations: Every few seconds three glider triples get sent out, obviously directly representing the 9 neighboring cells. These interact with some lane shifting and 90 degree reflections. In the process these &quot;byte&quot; may lose a glider or two, representing the result of the game of life computation. Then you can see a fuse burn down, then a single glider makes a round and suddenly the whole cell switches state by an army of gliders gently touching the producing border.
评论 #33985792 未加载
intrasight超过 2 年前
Who else had this experience.<p>Cool - Game Of Life on my phone. Some pretty cool patterns. Recursion? Don&#x27;t see it. But look - I can zoom out. Wow, that&#x27;s a pretty large pattern. Oh shit!<p>I&#x27;ve not delved into the code. But I am assuming that this is a static model and not actually doing the GOL calculations. Is that correct?
评论 #33983274 未加载
评论 #33994700 未加载
zengid超过 2 年前
First off, this is one of the coolest things I&#x27;ve ever seen.<p>Second, judging from the author&#x27;s github [0], I&#x27;m guessing this was made in Haxe [1], which is a language often used to make games. I&#x27;d looked at Haxe before, but I hadn&#x27;t realized that it has a lot of Ocaml-like features. I think I need to give it a try on my next prototype project!<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;saharan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;saharan</a><p>[1] <a href="https:&#x2F;&#x2F;haxe.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;haxe.org&#x2F;</a>
评论 #33989738 未加载
Cort3z超过 2 年前
I LOVE how you can set it to scroll forever by itself. This website is a true work of art.
评论 #33990902 未加载
评论 #33981328 未加载
danbruc超过 2 年前
I can wrap my head around zooming in - conceptually you run any life simulation you want, i.e. a base level game of life, and then recursively decompose each cell into the 2²² cells of a OTCA metapixel.<p>Zooming out I find much harder to make sense of. What does it look like if you zoom out infinitely often? Is there some limit? If you take an empty universe with all cells dead there seems to be nothing at first, but at closer inspection there is of course still a lot of stuff going on in all the dead metapixels making up the empty universe. After zooming in a couple of times it would be hard to tell that zooming out a bit would leave you with an empty universe. And it would not have to be an empty universe, it could be anything.
评论 #33981915 未加载
Rendello超过 2 年前
Rarely do I look at a website in amazement and ask &quot;How?&quot;. This is awesome.
评论 #33980130 未加载
oliverbennett超过 2 年前
I&#x27;m never going to stare at TV static and see deeper meaning in random noise, and while this is almost the opposite of that, I&#x27;m surprised by how I felt watching this.<p>Awe and mild discomfort aren&#x27;t the usual feelings I get watching information being processed.
symmetricsaurus超过 2 年前
Very smooth. Wonder if there are any optimizations like Hashlife going on? There’s a lot of spatial redundancy to exploit.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Hashlife" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Hashlife</a>
评论 #33980810 未加载
strenholme超过 2 年前
While an interesting effect, this recursive nature of this game can not be seen unless one has a mouse scroll wheel. I think it would be good to allow zoom in&#x2F;zoom out to be done a different way (such as page up&#x2F;page down or +&#x2F;-). Not everyone has a mouse scroll wheel.
评论 #33981779 未加载
评论 #33989740 未加载
fishtoaster超过 2 年前
This is amazing! I&#x27;ve seen &quot;life in life&quot; as a video from ages ago[0], but this is just suck a slick implementation of it!<p>[0] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=xP5-iIeKXE8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=xP5-iIeKXE8</a>
bobnamob超过 2 年前
It isn’t often I verbally exclaim on opening an HN link. Wow.
msarris超过 2 年前
It looks quite different on mobile here (both Chrome and Firefox) than on desktop. It&#x27;s way better on desktop, on mobile quite chaotic and doesn&#x27;t seem to follow the actual Game of Life rules.<p>Really cool on desktop here!
评论 #33983897 未加载
ranting-moth超过 2 年前
Doesn&#x27;t work in Firefox<p>Uncaught Object { message: &quot;assertion error&quot;, stack: &quot;C@<a href="https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:31:459\nze@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:31:383\nC.g@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:85:493\nne.prototype.h@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:37:66\nZb.prototype.bb&#x2F;&lt;@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:60:197\nu.g&#x2F;g.Ja.onload@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:225:160\nEventHandlerNonNull*u.g@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:225:166\nZb.prototype.bb@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:60:122\nNc.prototype.ba@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:58:500\nZb.prototype.ba@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:59:428\nZb@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:33:71\nZb.h@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:72:373\n@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:243:4\n@https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:243:9\n&quot;" rel="nofollow">https:&#x2F;&#x2F;oimo.io&#x2F;works&#x2F;life&#x2F;main.js:31:459\nze@https:&#x2F;&#x2F;oimo.i...</a>, g: {…}, value: &quot;assertion error&quot; } main.js:37:66
评论 #33981552 未加载
评论 #33981916 未加载
评论 #33983611 未加载
评论 #33982362 未加载
评论 #33981783 未加载
p-e-w超过 2 年前
I guessed almost immediately how this is implemented, but I&#x27;m still amazed by how fast it is.
评论 #33994313 未加载
rodrigosetti超过 2 年前
This is awesome. How would one describe this formal system? There are no cells essentially
评论 #33981332 未加载
评论 #33981092 未加载
kmoser超过 2 年前
You can&#x27;t fool me! It&#x27;s Life all the way down!
评论 #33981747 未加载
graderjs超过 2 年前
That is so cool! This person really is a freak, in good way. They also created their own physics engine, which was featured here a while ago: <a href="https:&#x2F;&#x2F;github.com&#x2F;saharan&#x2F;OimoPhysics" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;saharan&#x2F;OimoPhysics</a><p>But it would be cool if we could change the GoL parameters and see how that affects the infinite fractal recursion!
Exuma超过 2 年前
Wow, this is something I never considered... go down the rabbit hole on this site (&quot;guns&quot;, &quot;glider guns&quot;, etc). I had no idea people actually tried to &quot;game&quot; or discover useful patterns in game of life:<p><a href="https:&#x2F;&#x2F;conwaylife.com&#x2F;wiki&#x2F;OTCA_metapixel" rel="nofollow">https:&#x2F;&#x2F;conwaylife.com&#x2F;wiki&#x2F;OTCA_metapixel</a>
luxuryballs超过 2 年前
“It was the right day to micro dose”, Christopher Robin said to himself.
Aardwolf超过 2 年前
If you zoom in, you get lower and lower level OTCA metapixels forever, very straightforward.<p>But if you zoom out, at any time it could be possible for them to compute a different pattern. But it&#x27;s OTCA metapixel all the way up. What is being computed, other than more OTCA metapixels? What is being computed after infinite zoom out steps?<p>Makes me question the meaning of existence!
wintorez超过 2 年前
OK, this is mind-blowing
smegsicle超过 2 年前
haha getting the speed right at the different levels and everything, nice
mjhagen超过 2 年前
My God, it&#x27;s full of pixels!
tehsauce超过 2 年前
Super well done! The transition between levels is beautiful.
wufufufu超过 2 年前
I am enjoying this. Is there a way to pause? I have to verify each cell just to boggle my mind at the fact that everything is adhering to GOL rules.
fooker超过 2 年前
It is interesting to observe that the perception of time changes with zooming in&#x2F;out. I know the actual speed of the gliders remains the same, but it seems to my eye that they speed up if you zoom out and slow down if you zoom in.<p>I wonder if this perception has an analogue in the physical world that has relativity as a consequence.
评论 #33982145 未加载
globalise83超过 2 年前
This is really great. I would like to use it as a visual backdrop on a big screen when playing DJ sets. I see that it enters a permanently zooming out mode when I zoom out fast, would be awesome if the zoom control disappears when it enters that mode so that it just displays the game of life itself and no UI elements.
评论 #33982877 未加载
sheerun超过 2 年前
Nice zoom out, it feels like the Universe is constructed a bit like this
jerrygoyal超过 2 年前
i can&#x27;t possibly be the only one who didn&#x27;t get what this is
评论 #33982194 未加载
评论 #33980889 未加载
NiceWayToDoIT超过 2 年前
Mesmerizing, I am interested for the code and how is this built. When I said build the entire fractal concept is it emergent or deliberate? Who did author envisioned this&gt;
bloopernova超过 2 年前
I wonder what the smallest molecules&#x2F;things are that could be used to make a real game of life? Could you do it with bacteria? Surely not viruses or amino acids?
评论 #33983648 未加载
评论 #33985152 未加载
fallingfrog超过 2 年前
This is the coolest thing I&#x27;ve seen in a long time!
fifilura超过 2 年前
Mesmerising! And so fast!<p>@JWZ, can we have a xscreensaver for this please!
davedx超过 2 年前
Incredible. There&#x27;s more here: <a href="https:&#x2F;&#x2F;oimo.io&#x2F;works" rel="nofollow">https:&#x2F;&#x2F;oimo.io&#x2F;works</a>
Karsteski超过 2 年前
This person&#x27;s entire website is beautiful.
Llamamoe超过 2 年前
No matter what speed&#x2F;zoom I set it to, it skips steps like crazy and no simulation can be seen.
m00dy超过 2 年前
well this guy makes me feel stupid, tbh.
Kim_Bruning超过 2 年前
also duplicated at: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33971341" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33971341</a><p>There must be a trick to it, but some of it has to be real... and it&#x27;s so smoothly done I can&#x27;t easily see the transition.
jefftk超过 2 年前
It wasn&#x27;t immediately obvious to me: you need to scroll to see the recursive aspect.<p>(This is really amazing)
psychphysic超过 2 年前
I had a sudden dawning zooming out that really felt like a psychedelic &quot;insight&quot;.
jerpint超过 2 年前
How is this even possible?
评论 #33980100 未加载
评论 #33980134 未加载
logicallee超过 2 年前
Amazingly performant. Runs on old hardware very smoothly.
sambalbadjak超过 2 年前
This should be an option for a screensaver. Well made!
Papirola超过 2 年前
amazing, both visually and conceptually.
albert_e超过 2 年前
Has anyone tried this in a 3D cell distribution instead of 2D arrangement of cells with similar rules?<p>Does it simulate life or universe at any scale?
dschuetz超过 2 年前
OOOohhh, you have to scroll!
tobyhinloopen超过 2 年前
Neat
sceptically超过 2 年前
Loading...
szundi超过 2 年前
It should be oiomo.io
fractal618超过 2 年前
That is beautiful
an_aparallel超过 2 年前
this is what the internet is all about thx :)
calebm超过 2 年前
Beautiful
felipelalli超过 2 年前
How?
anubhav200超过 2 年前
WOW
system2超过 2 年前
Trippy.
121110987654321超过 2 年前
beautiful
tobyhinloopen超过 2 年前
neat