lifejs
Source
- Source kind:
github-repository - URL: https://github.com/karpathy/lifejs
- Discovery source: https://github.com/karpathy/lifejs
- License:
NOASSERTION - Distribution policy:
public-summary-local-archive-only - Public mirror status:
summary-only - Content hash:
cee2ec135a3d9b0f16c6000c52baddabfffbd84df02cb537130c822a520b5f49 - First seen: 2026-05-15
- Last changed: 2026-05-15
Classification
- Primary category: Minimal implementations
- Corpus source note: 2026-05-15-karpathy-public-corpus
- Project taxonomy: karpathy-project-taxonomy
- Idea map: karpathy-idea-map
- Topic hub: karpathy-public-work
Summary
Javascript port of Scriptbots (https://sites.google.com/site/scriptbotsevo/) Requires a copy of the Sylvester Vector math library (sylvester.js) in the same directory as Life.js and Worker.js To use: For a list of default parameters see: https://github.com/JimAllanson/lifejs/wiki/Default-Parameters For a demonstration, see: http://jimallanson.github.com/lifejs/ For more information on the simulation, see: https://sites.google.com/site/scriptbotsevo/ For a copy of the Sylvester library, see: http://sylvester.jcoglan.com/
What This Teaches
- How a complex idea can be compressed into a minimal but working implementation.
- Useful as a reference style for serious small systems rather than decorative demos.
Why It Matters
This matters as part of Karpathy’s broader pattern: compress hard technical systems into readable, inspectable, working artifacts.
Repository Snapshot
- Full name:
karpathy/lifejs - Default branch:
master - HEAD:
c7e74d4565c870e29fb69a89881a26b18b77464c - Stars at crawl: 113
- Forks at crawl: 28
- File count: 3
- README path:
README - License path: “
- Created: 2012-05-29T02:24:28Z
- Updated: 2026-05-10T13:12:19Z
- Pushed: 2012-05-27T18:20:20Z
Top-Level Structure
[root]: 3
File Extension Profile
.js: 2[none]: 1
Tags / Release-Like Markers
- No git tags found in the shallow local clone.
Sample File Tree
Life.jsREADMEWorker.js
Public Handling Notes
- EXTRACTED: This page records public metadata and a source-grounded summary.
- INFERRED: Full local preservation, when available, is for private/local use unless a license or explicit source policy makes public redistribution safe.
- Do not treat this page as permission to republish unlicensed source text or code wholesale.