{"id":18876296,"url":"https://github.com/strandedkitty/ants-simulation","last_synced_at":"2025-07-22T21:34:48.344Z","repository":{"id":40439698,"uuid":"507531863","full_name":"StrandedKitty/ants-simulation","owner":"StrandedKitty","description":"🐜 GPU-accelerated ant colony simulation","archived":false,"fork":false,"pushed_at":"2022-08-11T13:47:12.000Z","size":891,"stargazers_count":21,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-07-19T05:36:28.467Z","etag":null,"topics":["gpu","realtime","sandbox","simulation","webgl"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/StrandedKitty.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":"2022-06-26T09:34:35.000Z","updated_at":"2025-05-15T05:41:59.000Z","dependencies_parsed_at":"2022-09-16T22:03:10.814Z","dependency_job_id":null,"html_url":"https://github.com/StrandedKitty/ants-simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/StrandedKitty/ants-simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrandedKitty%2Fants-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrandedKitty%2Fants-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrandedKitty%2Fants-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrandedKitty%2Fants-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StrandedKitty","download_url":"https://codeload.github.com/StrandedKitty/ants-simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StrandedKitty%2Fants-simulation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266578680,"owners_count":23951150,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["gpu","realtime","sandbox","simulation","webgl"],"created_at":"2024-11-08T06:12:22.333Z","updated_at":"2025-07-22T21:34:48.323Z","avatar_url":"https://github.com/StrandedKitty.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ants simulation\n\nA simple ant colony GPU-accelerated simulation made with Three.js.\n\n**[Live demo](https://strandedkitty.github.io/ants-simulation/)**\n\n![ants collecting food](https://i.imgur.com/FeU3UvR.png)\n\n## Rules\n\nAnts can emit two types of pheromones: to-home pheromone and to-food pheromone. To-home pheromones are emitted by those ants searching for food and to-food pheromones are emitted by those carrying food. Ants searching for food are attracted to to-food pheromones, while ants searching for home are attracted to to-home pheromones.\n\nIf an ant searching for food detects a food cell nearby, then it picks it up, and drops it after reaching home.\n\nIf an ant senses the desirable pheromones nearby, then it turns to the direction of these pheromones, and if no pheromones are detected nearby or the ant can't decide at which direction pheromones are stronger, then is moves randomly.\n\nIt is important to prevent ants from following pheromone trails left by those ants who wandered too far from home or a food source. Each individual ant has an inventory for storing pheromones. Each time an ant leaves a pheromone marker anywhere on the map a small portion of the stored pheromones is used. And each time it picks up food or reaches home its inventory gets fully refilled.\n\nPheromone trails left by ants evaporate and diffuse over time.\n \n## References\n\n- https://softologyblog.wordpress.com/2020/03/21/ant-colony-simulations/\n- https://github.com/johnBuffer/AntSimulator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrandedkitty%2Fants-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrandedkitty%2Fants-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrandedkitty%2Fants-simulation/lists"}