You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Implementation of Conway's "game of life" using Gosper's hashlife algorithm.
Run "hashlife" to start with a hardcoded example or load user-made patterns in plain text format. Patterns can be found on: LifeWiki:Pattern pages - LifeWiki (conwaylife.com)
Examples:
and many more.... - copy this in a txt file and load it
Press the "One step ahead" button repeatedly to produce more and more generations.
The algorithm is usually slow at the beginning or when the current cell pattern has few repetitive elements. It gets faster the more results the algorithm could cache from previous calculations and does not have to recalculate.
Cite As
Thomas (2026). Hashlife (https://au.mathworks.com/matlabcentral/fileexchange/101714-hashlife), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (10.2 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
