{"id":13683879,"url":"https://github.com/fnky/particle-life","last_synced_at":"2025-10-24T10:16:02.266Z","repository":{"id":46885756,"uuid":"155675114","full_name":"fnky/particle-life","owner":"fnky","description":"Game of life with particles","archived":false,"fork":false,"pushed_at":"2021-04-26T00:23:52.000Z","size":761,"stargazers_count":301,"open_issues_count":5,"forks_count":32,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-30T20:31:59.384Z","etag":null,"topics":["game-of-life","javascript","particles","web"],"latest_commit_sha":null,"homepage":"https://fnky.github.io/particle-life","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fnky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-01T07:01:27.000Z","updated_at":"2025-04-11T01:47:20.000Z","dependencies_parsed_at":"2022-09-08T11:50:24.664Z","dependency_job_id":null,"html_url":"https://github.com/fnky/particle-life","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fnky/particle-life","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnky%2Fparticle-life","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnky%2Fparticle-life/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnky%2Fparticle-life/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnky%2Fparticle-life/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fnky","download_url":"https://codeload.github.com/fnky/particle-life/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fnky%2Fparticle-life/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280778142,"owners_count":26389357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game-of-life","javascript","particles","web"],"created_at":"2024-08-02T14:00:19.860Z","updated_at":"2025-10-24T10:16:02.219Z","avatar_url":"https://github.com/fnky.png","language":"JavaScript","funding_links":[],"categories":["Cellular Automata","JavaScript","Particles"],"sub_categories":[],"readme":"\u003cimg width=\"200\" height=\"200\" src=\"assets/particle-life.svg\" alt=\"Particle Light\" align=\"right\" /\u003e\n\n# Particle Life\n\nA game of life using particles, instead of cells.\n\nA JavaScript conversion, based on [Particle-Life](https://github.com/HackerPoet/Particle-Life 'Go to the repository of Particle-Life') by [HackerPoet](https://github.com/HackerPoet \"Go to HackerPoet's GitHub profile\").\n\n[See it in the browser][demo]\n\n## Todo\n\n- [ ] Optimize rendering\n  - Perhaps switch from `canvas-sketch` to a more stable and performant library (or home-grown)\n- [ ] Further optimize the algorithm.\n  - Use fixed-size data structures instead of arrays?\n  - Allocate as much during initialization, before rendering.\n  - Measure and optimize `Universe.step()` function.\n  - Measure random-js and prob.js performance to ensure it is not a huge bottleneck.\n- [ ] Add camera logic with zoom and tracking.\n\n## Known Bugs\n\n- Rendering performance is currently pretty poor (18-20 fps).\n- There's no keymapping for zooming / reset, yet.\n\n## Development\n\n#### Scripts\n\n- `start` — Start development. Opens browser and enables Hot reloading.\n- `build` — Build distrobution-friendly files.\n- `format` — Format files with [prettier](https://prettier.io/ \"Go to Prettier's website\").\n\n## Contributing\n\nContributions are very welcome. If you've found a bug create an [issue](https://github.com/fnky/particle-life/issues 'Go to Issues') or even better, a [pull request](https://github.com/fnky/particle-life/pulls 'Go to Pull Requests').\n\n## Credits\n\n[HackerPoet](https://github.com/HackerPoet \"HackerPoet's GitHub profile\") better known as CodeParade, for the original implementation. Check out his [YouTube channel](https://www.youtube.com/channel/UCrv269YwJzuZL3dH5PCgxUw \"CodeParade's YouTube channel\").\n\n[demo]: https://fnky.github.io/particle-life\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnky%2Fparticle-life","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffnky%2Fparticle-life","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffnky%2Fparticle-life/lists"}