{"id":19612547,"url":"https://github.com/chenjd/unity-boids-behavior-on-gpgpu","last_synced_at":"2025-04-09T19:20:29.726Z","repository":{"id":37664690,"uuid":"100117139","full_name":"chenjd/Unity-Boids-Behavior-on-GPGPU","owner":"chenjd","description":"Boids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance. 利用Compute Shader实现Boids模拟。","archived":false,"fork":false,"pushed_at":"2022-03-01T02:52:36.000Z","size":16518,"stargazers_count":251,"open_issues_count":0,"forks_count":52,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-02T13:50:24.690Z","etag":null,"topics":["compute-shader","shader","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","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/chenjd.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":"2017-08-12T14:23:46.000Z","updated_at":"2025-03-27T09:33:59.000Z","dependencies_parsed_at":"2022-08-08T21:15:34.655Z","dependency_job_id":null,"html_url":"https://github.com/chenjd/Unity-Boids-Behavior-on-GPGPU","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FUnity-Boids-Behavior-on-GPGPU","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FUnity-Boids-Behavior-on-GPGPU/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FUnity-Boids-Behavior-on-GPGPU/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chenjd%2FUnity-Boids-Behavior-on-GPGPU/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chenjd","download_url":"https://codeload.github.com/chenjd/Unity-Boids-Behavior-on-GPGPU/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094991,"owners_count":21046770,"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":["compute-shader","shader","unity"],"created_at":"2024-11-11T10:47:01.993Z","updated_at":"2025-04-09T19:20:29.699Z","avatar_url":"https://github.com/chenjd.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Boids Behavior on GPGPU\n\n![GitHub](https://img.shields.io/github/license/chenjd/Unity-Boids-Behavior-on-GPGPU)\n![](https://img.shields.io/badge/platform-win--64-brightgreen)\n![Build By Action](https://github.com/chenjd/Unity-Boids-Behavior-on-GPGPU/workflows/Build%20By%20Action/badge.svg)\n\n#### Update\nSupport Unity 2021+\nAdd GitHub Action CI/CD pipeline, you can find the latest exe file at Actions page.\n\n#### Description：\n\nImplement Boids simulation using Compute Shader.\n\nOriginally inspired by Joachim Ante at [Unite Europe 2017 - C# job system \u0026 compiler\n](https://www.youtube.com/watch?v=AXUvnk7Jws4\u0026t=317s)\nJoachim showed how a boids simulation performance increases when using the new Job system, taking full advantage of the multi CPU/Core architecture\n\n![](http://upload-images.jianshu.io/upload_images/1372105-587750bad15322a0.gif?imageMogr2/auto-orient/strip)\n\nInstead of that,I make the GPU-based flocking system.\nBoids behavior calculation code is modified to utilize Microsoft Direct Compute resulting significant improvements in Performance.\n\n![](./Res/boidgif.gif)\n\n#### Platform\nWindows\n\n#### Article(Chinese)\n[利用GPGPU计算大规模群落仿真行为](http://www.cnblogs.com/murongxiaopifu/p/7308366.html)\n\n#### Ref\n\n[Boids](https://www.red3d.com/cwr/boids/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenjd%2Funity-boids-behavior-on-gpgpu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchenjd%2Funity-boids-behavior-on-gpgpu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchenjd%2Funity-boids-behavior-on-gpgpu/lists"}