Switch to full stage
Loading Project
Loading project …

Instructions

Conway's game of life V9.6 100% pen 1 sprite Currently the fastest implementation on scratch as far as I can tell z/w/scroll up=zoom in s/scroll down=zoom out arrow keys=move around space bar=run/stop Conway's Game of Life is a very simple cellular automaton: a theoretically infinite grid where each square is either on or off. -If a cell is off and three of its neighbors are on, then it will turn on at the next generation by reproduction. -If a cell is on, it will stay on only if it has 2 or 3 on neighbors. But you can change these values to experiment! What's fascinating about these rules in particular, and what prompted me to code this cellular automaton a fourth time, is that such simple rules give rise to such complicated and varied behavior that I wanted to be able to simulate a large number of cells. I also wanted to code an infinite grid, because having an infinite grid is the very essence of the game of life. To simulate large patterns, I recommend turbowarp, but scratch does the trick if you just want to experiment! https://turbowarp.org/1143869507 check out the credits for more details and a site that provides patterns. tags: #hashlife #gameoflife #life #GOL #Cgol #cellular #automaton #cells #infinite #unbounded #bounded #pen #all #simulation #quadtree #hashlife

Notes and Credits

Music from Pixabay Thanks to @-Rex- for his incredible text engine: https://scratch.mit.edu/projects/406678232/ Thanks to @ArnoHu for some explanations and his RLE importer. Thanks to Bill Gosper for inventing the hashlife algorithm. I learned about hashlife at: https://www.dev-mind.blog/hashlife/ check this out for interesting patterns: https://conwaylife.com/wiki/ Thanks to this video on hash tables: https://www.youtube.com/watch?v=AoC9wUstPtk&pp=ygUgYWxnbyBhdSB0YWJsZWF1IHRhYmxlIGRlIGhhY2hhZ2U%3D

TurboWarp is a Scratch mod that compiles projects to JavaScript to make them run really fast. Try it out by inputting a project ID or URL above or choosing a featured project below.