{"id":13660749,"url":"https://github.com/leonardo-montes/Unity-ECS-Job-System-SPH","last_synced_at":"2025-04-24T23:30:46.473Z","repository":{"id":38144543,"uuid":"161210042","full_name":"leonardo-montes/Unity-ECS-Job-System-SPH","owner":"leonardo-montes","description":"Implementation of the SPH Algorithm (fluid simulation) in Unity, comparing singlethread and ECS/Job System performances.","archived":false,"fork":false,"pushed_at":"2019-08-13T13:29:55.000Z","size":6402,"stargazers_count":248,"open_issues_count":2,"forks_count":43,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-10T15:44:12.655Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ShaderLab","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/leonardo-montes.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":"2018-12-10T17:15:04.000Z","updated_at":"2024-08-23T11:21:12.000Z","dependencies_parsed_at":"2022-08-19T18:01:47.492Z","dependency_job_id":null,"html_url":"https://github.com/leonardo-montes/Unity-ECS-Job-System-SPH","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/leonardo-montes%2FUnity-ECS-Job-System-SPH","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardo-montes%2FUnity-ECS-Job-System-SPH/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardo-montes%2FUnity-ECS-Job-System-SPH/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leonardo-montes%2FUnity-ECS-Job-System-SPH/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leonardo-montes","download_url":"https://codeload.github.com/leonardo-montes/Unity-ECS-Job-System-SPH/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250727451,"owners_count":21477316,"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":[],"created_at":"2024-08-02T05:01:25.321Z","updated_at":"2025-04-24T23:30:43.836Z","avatar_url":"https://github.com/leonardo-montes.png","language":"ShaderLab","funding_links":[],"categories":["Physics","ShaderLab","ECS"],"sub_categories":[],"readme":"# Unity (ECS/Job System) SPH\nImplementation of the SPH Algorithm (fluid simulation) in Unity, comparing singlethread and ECS/Job System performances.\n\nUpdated to Unity 2019.2!\n\nMore info in this article: https://medium.com/@leomontes_60748/how-to-implement-a-fluid-simulation-on-the-cpu-with-unity-ecs-job-system-bf90a0f2724f\n\n\n### How to:\nYou can select the scene from 'Assets/Scenes'. Once in the scene, you can hit play to see the simulation. You can change some settings in the script from the MANAGER GameObject.\n\n### Settings:\n**Single-thread:**\n- Particle count\n- Particle parameters*\n\n**ECS, Job system:**\n- Particle count\nYou can find the particle parameters* inside 'Assets/Job System/Prefabs' in the SPHSphereECS GameObject.\n\n\n* Particle parameters:\n  - radius\n  - smoothing radius\n  - rest density\n  - gravity multiplier\n  - mass\n  - viscosity\n  - drag\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardo-montes%2FUnity-ECS-Job-System-SPH","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleonardo-montes%2FUnity-ECS-Job-System-SPH","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleonardo-montes%2FUnity-ECS-Job-System-SPH/lists"}