Live data from Hacker News

Recursive Game of Life

oimo.io

71–80 of 123 posts

Re: Recursive Game of Life

#73
post #68

Earlier quoted context omitted.

Already tried that, does not zoom quickly enough to reach infinity before I have to go to bed.

I don't think you need to reach infinity to realize it's OTCA metapixels all the way down and OTCA metapixels all the way up. In a way, it just loops forever.

That is the question I am asking. Zooming out finitely often gives you metapixels but what happens in the limit at infinity? Just like increasing x by any finite amount will always leave you with a small positive number for 1/x but in the limit you get 0.

Re: Recursive Game of Life

#75
post #54

It is interesting to observe that the perception of time changes with zooming in/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. I wonder if this perception has an analogue in the physical world that has relativity as a consequence.

They really slow down it's not just perception. Try to time it.

Re: Recursive Game of Life

#76

i can't possibly be the only one who didn't get what this is

It's a game of life simulation that is -itself- running a game of life simulation that is running a game of life simulation that is ...

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Game of Life is Turing-complete, and has all sorts of other weird and interesting implications in chaos theory and philosophy of maths.

You can write a game of life implementation on a rainy sunday afternoon, and be stuck playing with it for weeks.

This guy took it to another level though.

Re: Recursive Game of Life

#77

Very smooth. Wonder if there are any optimizations like Hashlife going on? There’s a lot of spatial redundancy to exploit. https://en.wikipedia.org/wiki/Hashlife

It need not do any simulation at all. Representing this as an animation should be very doable. Probably 2^4 animations (1 for each potential state of a cell) then you just need to tile the animations and replace sub pixels as needed. So you start out showing a zoomed in view of the animation. As you zoom out you tile based on the animation shown one layer up. The exact tiling is probably tough, but easier than actual…

The OTCA metapixel has 2048x2048 cells and a period of 35328. That's a total of 18.5 GB. And that's not counting the different states depending on neighbors and on-off-transitioning state.

Even with compression that's a lot of data.

Re: Recursive Game of Life

#78

Doesn't work in Firefox Uncaught Object { message: "assertion error", stack: "C@ https://oimo.io/works/life/main.js:31:459\nze@https://oimo.i... , g: {…}, value: "assertion error" } main.js:37:66

I use firefox 108, worked for me just fine

Firefox 108 on macOS Monterey, works.

Re: Recursive Game of Life

#79

Doesn't work in Firefox Uncaught Object { message: "assertion error", stack: "C@ https://oimo.io/works/life/main.js:31:459\nze@https://oimo.i... , g: {…}, value: "assertion error" } main.js:37:66

Perhaps disable some extensions?

Re: Recursive Game of Life

#80
post #54

It is interesting to observe that the perception of time changes with zooming in/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. I wonder if this perception has an analogue in the physical world that has relativity as a consequence.

They really slow down it's not just perception. Try to time it.

The distance metric also changes.
Post reply on HN