{"id":13477938,"url":"https://github.com/bones-ai/rust-ants-colony-simulation","last_synced_at":"2025-10-23T13:31:01.674Z","repository":{"id":184834544,"uuid":"672535292","full_name":"bones-ai/rust-ants-colony-simulation","owner":"bones-ai","description":"An ant colony simulation written in rust","archived":false,"fork":false,"pushed_at":"2023-10-20T06:16:35.000Z","size":2646,"stargazers_count":188,"open_issues_count":4,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T18:48:23.456Z","etag":null,"topics":["ant-colony-systems","bevy","rust-lang","simulation"],"latest_commit_sha":null,"homepage":"https://youtu.be/98pUSZAM_7M","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bones-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-07-30T12:19:26.000Z","updated_at":"2025-01-21T06:30:06.000Z","dependencies_parsed_at":"2024-01-16T06:28:18.659Z","dependency_job_id":null,"html_url":"https://github.com/bones-ai/rust-ants-colony-simulation","commit_stats":null,"previous_names":["bones-ai/rust-ants-colony-simulation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bones-ai%2Frust-ants-colony-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bones-ai%2Frust-ants-colony-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bones-ai%2Frust-ants-colony-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bones-ai%2Frust-ants-colony-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bones-ai","download_url":"https://codeload.github.com/bones-ai/rust-ants-colony-simulation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237834707,"owners_count":19373777,"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":["ant-colony-systems","bevy","rust-lang","simulation"],"created_at":"2024-07-31T16:01:50.054Z","updated_at":"2025-10-23T13:31:00.404Z","avatar_url":"https://github.com/bones-ai.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Ant Colony Simulation\nThis is an ant colony simulation, it internally uses kdtree and query caching, it's able to handle about 5k ants on the cpu.\n\n\nBuilt with [Rust](https://www.rust-lang.org/) and [Bevy](https://bevyengine.org/) game engine\n\n![screenshot](/screenshot.png)\n\n# Demo\nHere's the entire timelapse of the AI learning to drive\n\n[![youtube](https://img.youtube.com/vi/98pUSZAM_7M/0.jpg)](https://youtu.be/98pUSZAM_7M)\n\n# Timelapses with Approach 1\n[![youtube](https://img.youtube.com/vi/5xdfTJBMnwI/0.jpg)](https://youtu.be/5xdfTJBMnwI)\n\n\n## Usage\n- Clone the repo\n```bash\ngit clone git@github.com:bones-ai/rust-ants-colony-simulation.git\ncd rust-ants-colony-simulation\n```\n- Run the simulation\n```bash\ncargo run --release\n```\n\n## Configurations\n- The project config file is located at `src/configs.rs`\n- If all ants aren't forming a single trail even after a long time, try increasing `ANT_INITIAL_PH_STRENGTH` in the configs to a greater value (exmaple: `40.0`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbones-ai%2Frust-ants-colony-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbones-ai%2Frust-ants-colony-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbones-ai%2Frust-ants-colony-simulation/lists"}