{"id":18534887,"url":"https://github.com/gregorykogan/bugs-life","last_synced_at":"2025-05-14T23:35:09.376Z","repository":{"id":149586014,"uuid":"236321500","full_name":"GregoryKogan/bugs-life","owner":"GregoryKogan","description":"This is simulation of how bugs live","archived":false,"fork":false,"pushed_at":"2023-06-13T21:04:11.000Z","size":1336,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"gh-pages","last_synced_at":"2025-02-17T07:20:10.406Z","etag":null,"topics":["evolution","evolutionary-algorithms","lifecycle","natural-selection","simulation"],"latest_commit_sha":null,"homepage":"https://gregorykogan.github.io/bugs-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/GregoryKogan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-26T14:14:00.000Z","updated_at":"2023-06-13T21:04:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"162d9335-9f77-4290-a72e-343822d198a1","html_url":"https://github.com/GregoryKogan/bugs-life","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fbugs-life","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fbugs-life/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fbugs-life/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GregoryKogan%2Fbugs-life/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GregoryKogan","download_url":"https://codeload.github.com/GregoryKogan/bugs-life/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254248619,"owners_count":22039014,"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","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":["evolution","evolutionary-algorithms","lifecycle","natural-selection","simulation"],"created_at":"2024-11-06T19:17:37.910Z","updated_at":"2025-05-14T23:35:09.341Z","avatar_url":"https://github.com/GregoryKogan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bugs-life\n\n\u003cimg width=\"1378\" alt=\"image\" src=\"https://github.com/GregoryKogan/Bugs-Life/assets/60318411/bf926251-2b37-4695-89d3-afcc92a6bbb8\"\u003e\n\nThis is my first big project.\nThis is simulation of how bugs live.\n\nOf course it's not precise and has no scientific power.\nBut it still very interisting to make set of creatures and watch of them evolving and interracting with each other\nand environment.\n\nThere are few specs of every creature. How creature looks highly depends on it specs.\n\nIf creature is a predator it has a white oval on his back perpendicular to his body.\n\nIf creature is herbivourous it has a white oval on his back parallel to to his body.\n\nIf creature is omnivourous it has both ovals.\n\nThe older the creature the longer it's tail.\n\nIf creature is lazy it has little pompons on it's ears and tail.\n\nIf creature is brave it has no middle legs.\n\nAmount of energy that creature can store in it's body is represented with size of it.\n\nThe bigger creature, the slower it is.\n\nEvery creature has different lifespan. If creature is alive by the end of it's lifespan\nit dies, but make random amount of children.\n\nChildren have exactly same color as their parent, but other specs of children can be differnt from parent's.\nWith chance of 1 to 8 every spec of child can change from it parent's.\n\nSo it's simulation of evolution (kind of). At the end there are only creatures that are best fit environment.\n\nEnvironment is controllable, you can change size of the field and amount of food on it.\n\nBalanced set button creates 7 creatures with polar different specs.\n\nRandom set button creates renadom amount of creature with reandom specs.\n\nYou can manualy change each creature specs with 'Change' button.\nChanged creatures become white.\n\n'Show insides' button shows how creatures think and why they move like they move.\n\nYou can try this out here: https://gregorykogan.github.io/Bugs-Life/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorykogan%2Fbugs-life","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgregorykogan%2Fbugs-life","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgregorykogan%2Fbugs-life/lists"}