{"id":28418219,"url":"https://github.com/burnycoder/bird-flocking","last_synced_at":"2026-02-27T13:05:44.848Z","repository":{"id":288118635,"uuid":"966900381","full_name":"BurnyCoder/bird-flocking","owner":"BurnyCoder","description":"Browser-based simulation demonstrating emergent flocking behavior, referred to as \"boids\", with group of agents (birds) following a set of simple rules, resulting in complex, life-like flock movement patterns, using HTML, CSS (with Tailwind CSS for styling), and JavaScript for the logic and rendering on an HTML Canvas.","archived":false,"fork":false,"pushed_at":"2025-04-15T16:13:37.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T09:51:28.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","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/BurnyCoder.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-15T16:10:32.000Z","updated_at":"2025-04-15T16:13:40.000Z","dependencies_parsed_at":"2025-04-15T17:27:10.148Z","dependency_job_id":"dfc4d0d3-9220-4400-b5c6-8309bfd54c26","html_url":"https://github.com/BurnyCoder/bird-flocking","commit_stats":null,"previous_names":["burnycoder/bird-flocking"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BurnyCoder/bird-flocking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Fbird-flocking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Fbird-flocking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Fbird-flocking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Fbird-flocking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BurnyCoder","download_url":"https://codeload.github.com/BurnyCoder/bird-flocking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Fbird-flocking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29896314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T12:09:13.686Z","status":"ssl_error","status_checked_at":"2026-02-27T12:09:13.282Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-06-04T09:50:47.534Z","updated_at":"2026-02-27T13:05:44.815Z","avatar_url":"https://github.com/BurnyCoder.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bird flocking\n\nBrowser-based simulation demonstrating emergent flocking behavior, referred to as \"boids\", with group of agents (birds) following a set of simple rules, resulting in complex, life-like flock movement patterns, using HTML, CSS (with Tailwind CSS for styling), and JavaScript for the logic and rendering on an HTML Canvas.\n\n![image](https://github.com/user-attachments/assets/e2df018f-ff8d-4b7e-9acf-4b5c29701986)\n\n## How to run\n\nOpen bird-flocking.html\n\n## Mechanisms\n\n1.  **Separation:** Steer to avoid crowding local flockmates. Birds calculate a repulsive force away from neighbors that are within the `avoidanceRadius`. The closer a neighbor, the stronger the repulsive force.\n2.  **Alignment:** Steer towards the average heading (velocity) of local flockmates. Birds try to match the direction of their neighbors.\n3.  **Cohesion:** Steer to move toward the average position (center of mass) of local flockmates. Birds try to stay close to the group.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburnycoder%2Fbird-flocking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburnycoder%2Fbird-flocking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburnycoder%2Fbird-flocking/lists"}