An evolving generative art project inspired by Conway's Game of Life — but with letters, words, and meaning!
/lexical_life
/src
constants.js
utils.js
GridManager.js
Renderer.js
WordFinder.js
DictionaryLoader.js
GameController.js
main.js
index.html
style.css
README.md
git clone [your-repo-url]
cd lexical_life
Because it uses JavaScript modules (import/export), you must use a local server to run it properly.
You can quickly spin up a local server with:
- Install the Live Server extension in VSCode
- Right-click
index.html→ "Open with Live Server"
# Python 3
python -m http.server
Then open http://localhost:8000 in your browser.
npm install -g serve
serve .
- Random Mode: Hit Start! Letters randomly spawn and evolve based on neighbor rules.
- Manual Mode: Click a cell, type letters manually. Hit Start when ready.
- Words: Valid English words (from a curated dictionary) stabilize cells permanently.
- Clear: Reset the grid to blank.
- Export: Download a PNG snapshot of your current grid.
- Vanilla JS (modules)
- HTML5 Canvas + SVG overlay
- Clean Code principles
- Modern ES Modules (no frameworks)
- Random mutations and word stabilization
- Official Scrabble 2-letter word list support
- Colored connectors between found words
- Export artwork as an image
- Full modular structure for easy extension
- Step-by-step evolution (instead of setInterval)
- Animate word formations
- Add themes (dark mode?)
- Mobile touch controls
- Multiplayer word building mode?
MIT License. Feel free to hack, fork, and create your own Lexical Life worlds!