{"id":22572135,"url":"https://github.com/asankasovis/03.-flocking-simulation","last_synced_at":"2025-07-22T16:07:10.313Z","repository":{"id":150439730,"uuid":"492371625","full_name":"asankaSovis/03.-Flocking-Simulation","owner":"asankaSovis","description":"I created a Flocking Simulation in this code. We see birds and bees flocking in nature all the time, but can we create this sort of behaviour on a computer? In this small demonstration, I apply a set of rules to a bunch of triangles so that they behave like a flock of birds... or boids to be precise. This is based on the works done by Craig Reynolds. In it he describes a way to create this kind of a flock of boids in a simulation","archived":false,"fork":false,"pushed_at":"2022-05-17T06:25:15.000Z","size":15062,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T14:43:37.645Z","etag":null,"topics":["generative-art","processing"],"latest_commit_sha":null,"homepage":"","language":"Processing","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asankaSovis.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":"2022-05-15T02:47:19.000Z","updated_at":"2024-02-13T12:30:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0355a3a-32c6-4a46-9889-525a8c56899f","html_url":"https://github.com/asankaSovis/03.-Flocking-Simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/asankaSovis/03.-Flocking-Simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asankaSovis%2F03.-Flocking-Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asankaSovis%2F03.-Flocking-Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asankaSovis%2F03.-Flocking-Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asankaSovis%2F03.-Flocking-Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asankaSovis","download_url":"https://codeload.github.com/asankaSovis/03.-Flocking-Simulation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asankaSovis%2F03.-Flocking-Simulation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266525052,"owners_count":23942866,"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":["generative-art","processing"],"created_at":"2024-12-08T02:08:15.463Z","updated_at":"2025-07-22T16:07:10.297Z","avatar_url":"https://github.com/asankaSovis.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 03. Flocking Simulation 🪶\n## Animating a Flock of Birds\nI created a Flocking Simulation in this code.\nWe see birds and bees flocking in nature all the time, but can we create this sort of behaviour on a computer? In this small demonstration, I apply a set of rules to a bunch of triangles so that they behave like a flock of birds... or boids to be precise. This is based on the works done by [Craig Reynolds](https://www.red3d.com/cwr/index.html). In it he describes a way to create this kind of a flock of boids in a simulation, you can find his work [here](https://www.red3d.com/cwr/boids/).\n\nCheck the [Blog Post](https://asanka.hashnode.dev/03-flocking-simulation-making-a-flock-of-boids)  that this repo is connected to.\n\n---\n\n[\u003cimg src='https://github.com/asankaSovis/Flocking_Simulation/blob/main/Example%20Output/Boids%20-%20Flocking%20Simulation.gif' alt='Flocking Simulation Sample'\u003e](https://github.com/asankaSovis/Flocking_Simulation/blob/main/Example%20Output/Boids%20-%20Flocking%20Simulation.gif)\n\n---\n\n### Find me on social media\n\n[\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/facebook.svg' alt='facebook' height='30'\u003e](https://www.facebook.com/artist.artist.98) [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/github.svg' alt='github' height='30'\u003e](https://github.com/asankaSovis)  [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/instagram.svg' alt='instagram' height='30'\u003e](https://www.instagram.com/asankaakashsovis/)  [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/twitter.svg' alt='twitter' height='30'\u003e](https://twitter.com/AsankaSovis)  [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/linkedin.svg' alt='linkedin' height='30'\u003e](https://www.linkedin.com/in/asanka-sovis/)  [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/youtube.svg' alt='YouTube' height='30'\u003e](https://www.youtube.com/c/AKASHSOVIS/) \n[\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/deviant.svg' alt='Deviant' height='30'\u003e](https://www.deviantart.com/asanka98)  [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/pin.svg' alt='Pinterest' height='30'\u003e](https://www.pinterest.com/asankasovis)     [\u003cimg src='https://github.com/asankaSovis/asankaSovis/blob/main/blog.svg' alt='Pinterest' height='28'\u003e](https://asanka-sovis.blogspot.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasankasovis%2F03.-flocking-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasankasovis%2F03.-flocking-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasankasovis%2F03.-flocking-simulation/lists"}