UNPKG

ts-hashlife

Version:

Efficient TypeScript implementation of HashLife, an optimized algorithm for simulating Conway's Game of Life with memoization and quadtree-based compression.

20 lines 503 B
import { LifeUniverse, TreeNode } from "./life-universe"; import { LifeCanvasDrawer } from "./draw"; import { formats } from "./formats"; import { load_macrocell } from "./macrocell"; import EventBus from "./event-bus"; import Game from "./hash-life"; const HashLife = { EventBus, Game, LifeUniverse, TreeNode, LifeCanvasDrawer, formats, load_macrocell, }; export { // Core components EventBus, Game as HashLife, }; export default HashLife; //# sourceMappingURL=index.js.map