{"id":23613806,"url":"https://github.com/clement-muth/boids-simulation","last_synced_at":"2025-09-01T20:33:59.625Z","repository":{"id":239366438,"uuid":"799014684","full_name":"Clement-Muth/boids-simulation","owner":"Clement-Muth","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-11T20:35:54.000Z","size":121,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T05:32:57.581Z","etag":null,"topics":["boids","boids-algorithm","boids-behaviour","boids-simulation","craig-renyolds","flock"],"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/Clement-Muth.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":"2024-05-11T00:44:35.000Z","updated_at":"2024-05-11T20:36:44.000Z","dependencies_parsed_at":"2024-05-11T21:31:46.939Z","dependency_job_id":"8f4905b0-a2ad-4cbf-858e-77e08689b50a","html_url":"https://github.com/Clement-Muth/boids-simulation","commit_stats":null,"previous_names":["clement-muth/boids-simulation"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Clement-Muth/boids-simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clement-Muth%2Fboids-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clement-Muth%2Fboids-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clement-Muth%2Fboids-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clement-Muth%2Fboids-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Clement-Muth","download_url":"https://codeload.github.com/Clement-Muth/boids-simulation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Clement-Muth%2Fboids-simulation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268372069,"owners_count":24239798,"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-08-02T02:00:12.353Z","response_time":74,"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":["boids","boids-algorithm","boids-behaviour","boids-simulation","craig-renyolds","flock"],"created_at":"2024-12-27T17:28:44.882Z","updated_at":"2025-08-02T10:36:04.242Z","avatar_url":"https://github.com/Clement-Muth.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Boids Simulation**\n\n---\n\n### Introduction\n\nBoids is an artificial life program that simulates the flocking behavior of birds. Developed by Craig Reynolds in 1986, the term \"boids\" is derived from \"bird-oid objects.\" This simulation demonstrates how simple rules can create complex emergent behavior, such as flocking, schooling, or herding, observed in nature.\n\n### Description\n\nThis repository contains a Typescript implementation of the Boids simulation using HTML cavnas. Boids are represented as simple agents that follow three basic rules:\n\n1. **Separation**: Boids avoid collisions by steering away from nearby flockmates.\n2. **Alignment**: Boids align their direction with nearby flockmates.\n3. **Cohesion**: Boids move towards the average position of nearby flockmates.\n4. **Attraction**: Boids are attracted to nearby flockmates within a certain radius.\n\n### Features\n\n- Adjustable simulation parameters such as cohesion radius, alignment radius, attraction radius, and separation radius.\n- Interactive canvas rendering of boids' movements.\n- Simple and intuitive code structure for easy understanding and modification.\n\n### Installation\n\nTo run the simulation locally, follow these steps:\n\n1. Clone the repository:\n\n   ```\n   git clone git@github.com:Clement-Muth/boids-simulation.git\n   ```\n\n2. Navigate to the project directory:\n\n   ```\n   cd boids-simulation\n   ```\n\n3. Start with `yarn dev` and go to `http://localhost:8008`\n\n### Usage\n\n- **Simulation Controls**: \n  - Adjust the simulation parameters by modifying the `FlockOptions` object in the `index.ts` file.\n\n### Contributing\n\nContributions to this project are welcome! If you have any ideas for improvements or new features, feel free to submit a pull request.\n\n### License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclement-muth%2Fboids-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclement-muth%2Fboids-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclement-muth%2Fboids-simulation/lists"}