Short story featuring interactive Life simulations

A forum where anything goes. Introduce yourselves to other members of the forums, discuss how your name evolves when written out in the Game of Life, or just tell us how you found it. This is the forum for "non-academic" content.
Post Reply
justinmanley
Posts: 1
Joined: February 7th, 2023, 5:22 pm

Short story featuring interactive Life simulations

Post by justinmanley » February 7th, 2023, 5:57 pm

I’ve written a short story about a mother trying to understand her daughter’s fascination with Life: https://justinmanley.work/projects/lifestory. The text is interleaved with interactive Life simulations, mostly classic old patterns that everyone here will recognize: a Gosper glider gun, the r-pentomino, Kok’s galaxy, a Schick engine glider synthesis, gliders galore, and more (most of which I collected through spending wayyy too much time trawling the wonderful wiki!).

The page runs the interactive Life simulations using a custom TypeScript library written for the purpose. The library lays out patterns embedded throughout the text into a single unified Life grid, but only evolves cells when they are within the browser viewport. It also provides mechanisms for preventing patterns from getting corrupted when they pass into and out of the viewport (more details in this blog post).

I built the library for the short story, but it should also be useful for other purposes as well, if others want to use it to embed scrollable zero-UI Life simulations into tutorials or blog posts or other web-based texts (in addition to the short story, the library powers the blog post linked above).

It’s easy to get patterns into a page: they’re specified using RLE files (if you open the Network tab in Developer Tools while viewing the short story, you can see all the RLE files coming in). More details on how that works here.

I’m happy to answer questions if anyone has questions about the story or the library.

User avatar
otismo
Posts: 1213
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Short story featuring interactive Life simulations

Post by otismo » February 9th, 2023, 10:34 am

Welcome to our Community Justin Manley !

Thank You for sharing your creative writing

and also this wonderful new webpage tech

for embedding

scrollable zero-UI Life simulations !

Cheers !
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://viropet.com
Art Gallery : http://cgol.art
Video WebSite : http://conway.life

HappyInstaller0291
Posts: 2
Joined: February 26th, 2023, 1:55 pm

Re: Short story featuring interactive Life simulations

Post by HappyInstaller0291 » February 27th, 2023, 4:00 am

otismo wrote:
February 9th, 2023, 10:34 am
Welcome to our Community Justin Manley !

Thank You for sharing your creative writing

and also this wonderful new webpage tech

for embedding

scrollable zero-UI Life simulations !

Cheers !
Thanks!

Post Reply