{"id":20811924,"url":"https://github.com/activexdiamond/stable-fluid-dynamics","last_synced_at":"2026-04-22T11:03:59.666Z","repository":{"id":112726599,"uuid":"498753562","full_name":"ActivexDiamond/stable-fluid-dynamics","owner":"ActivexDiamond","description":"A Lua/Love2D physics simulation of stable fluids implenting Jos Stam's paper on the subject.","archived":false,"fork":false,"pushed_at":"2022-06-04T00:37:30.000Z","size":23326,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T22:49:01.786Z","etag":null,"topics":["fluid-dynamics","fluid-simulations","game-dev","game-developement","gamedev","library","love2d","lua","physics","physics-simulator","physics-tool","simulation-framework","simulator","tool"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/ActivexDiamond.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-06-01T13:44:14.000Z","updated_at":"2025-12-17T00:12:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"61f324a5-c7ee-40c0-a571-7b23ba17ff82","html_url":"https://github.com/ActivexDiamond/stable-fluid-dynamics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ActivexDiamond/stable-fluid-dynamics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivexDiamond%2Fstable-fluid-dynamics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivexDiamond%2Fstable-fluid-dynamics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivexDiamond%2Fstable-fluid-dynamics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivexDiamond%2Fstable-fluid-dynamics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActivexDiamond","download_url":"https://codeload.github.com/ActivexDiamond/stable-fluid-dynamics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActivexDiamond%2Fstable-fluid-dynamics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32132975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"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":["fluid-dynamics","fluid-simulations","game-dev","game-developement","gamedev","library","love2d","lua","physics","physics-simulator","physics-tool","simulation-framework","simulator","tool"],"created_at":"2024-11-17T20:49:08.944Z","updated_at":"2026-04-22T11:03:54.645Z","avatar_url":"https://github.com/ActivexDiamond.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stable Fluid Dynamics Library\nA Lua/Love2D physics simulation of stable fluids implenting Jos Stam's paper on the subject.\nCan be run as a stand-alone sandbox to explore the concept or used as a Lua library to implement this behavior into your own game or project.\n\n## Demo\n![Demo Gif](https://user-images.githubusercontent.com/21343576/171421351-f40dc529-ceb9-4027-90f5-ccbad66b9371.gif)\n\n![Demo Gif 2](https://user-images.githubusercontent.com/21343576/171517279-80dd2096-c736-4616-ab00-27fab0c4dd79.gif)\n\n## Controls\n- LMB -\u003e Add static density source.\n- RMB -\u003e Add static density source with a random velocity.\n- LMB + Shift -\u003e Remove density.\n- RMB + Shift -\u003e Remove velocity.\n\nNote: Currently, once a source is added there is no way to remove or modify it. (WIP)\n\n## References\nA pure-Lua implementation of Jos Stam's 2003 paper [\"Real-Time Fluid Dynamics for Games\"](https://www.dgp.toronto.edu/public_user/stam/reality/Research/pdf/GDC03.pdf)\n\n\n*The link above directs to a freely accessible online pdf of his paper.*\n\nSpecial thanks to Gonkee's ([YouTube channel](https://www.youtube.com/channel/UCG2IoSJBUhrGL8fb5stMCWw)) video --- [\"But How Do Fluid Simulations Work?\"](https://www.youtube.com/watch?v=qsYE1wMEMPA) --- for introducing me to this concept and paper.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivexdiamond%2Fstable-fluid-dynamics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivexdiamond%2Fstable-fluid-dynamics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivexdiamond%2Fstable-fluid-dynamics/lists"}