{"id":20132651,"url":"https://github.com/memo/ofxmsafluid","last_synced_at":"2025-06-10T08:32:07.737Z","repository":{"id":50677092,"uuid":"5929038","full_name":"memo/ofxMSAFluid","owner":"memo","description":"C++ openFrameworks addon for solving and drawing 2D fluid systems based on Navier-Stokes equations and Jos Stam's paper \"Real-Time Fluid Dynamics for Games\"","archived":false,"fork":false,"pushed_at":"2019-10-03T11:50:52.000Z","size":37,"stargazers_count":197,"open_issues_count":4,"forks_count":53,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-06-02T13:34:00.447Z","etag":null,"topics":["fluid-dynamics","fluid-mechanics","fluid-simulation","openframeworks","openframeworks-addon"],"latest_commit_sha":null,"homepage":"https://www.memo.tv/works/msafluid/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/memo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-09-24T03:10:37.000Z","updated_at":"2025-04-18T10:33:06.000Z","dependencies_parsed_at":"2022-09-23T06:50:31.046Z","dependency_job_id":null,"html_url":"https://github.com/memo/ofxMSAFluid","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/memo%2FofxMSAFluid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FofxMSAFluid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FofxMSAFluid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FofxMSAFluid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memo","download_url":"https://codeload.github.com/memo/ofxMSAFluid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo%2FofxMSAFluid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259037748,"owners_count":22796482,"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":["fluid-dynamics","fluid-mechanics","fluid-simulation","openframeworks","openframeworks-addon"],"created_at":"2024-11-13T20:54:23.291Z","updated_at":"2025-06-10T08:32:07.685Z","avatar_url":"https://github.com/memo.png","language":"C++","readme":"ofxMSAFluid\n=====================================\n\nIntroduction\n------------\nC++ openFrameworks addon for solving and drawing 2D fluid systems based on Navier-Stokes equations and Jos Stam's paper \"Real-Time Fluid Dynamics for Games\" [http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf](http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf)\n\nDemo at [www.memo.tv/msafluid/](http://www.memo.tv/msafluid)\n\nOther useful resources and implementations I looked at while building this library:  \n\n- Mike Ash (C), http://mikeash.com/?page=pyblog/fluid-simulation-for-dummies.html\n- Alexander McKenzie (Java), http://www.multires.caltech.edu/teaching/demos/java/stablefluids.htm\n- Pierluigi Pesenti (AS3 port of Alexander's), http://blog.oaxoa.com/2008/01/21/actionscript-3-fluids-simulation/\n- Gustav Taxen (C), http://www.nada.kth.se/~gustavt/fluids/\n- Dave Wallin (C++), http://nuigroup.com/touchlib/ (uses portions from Gustav's)\n\nLicence\n-------\nThe code in this repository is available under the [MIT License](https://secure.wikimedia.org/wikipedia/en/wiki/Mit_license).  \nCopyright (c) 2008-2012 Memo Akten, [www.memo.tv](http://www.memo.tv)  \nThe Mega Super Awesome Visuals Company\n\n\nInstallation\n------------\nCopy to your openFrameworks/addons folder.\n\nDependencies\n------------\n- MSACore\n\nCompatibility\n------------\nopenFrameworks 0072  \nI am generally testing only with [openFrameworks](www.openframeworks.cc), however it should work with [Cinder](www.libcinder.org) too. If it doesn't, please file an issue.\n\n\nKnown issues\n------------\nProbably will not work with Cinder without some (minor) changes\n\nVersion history\n------------\n### v2.1    23/09/2012\n- compatible with OF0072\n- renamed (uppercase) MSA namespace to (lowercase) msa. (kept MSA as an alias for backwards compatibility)\n- all classes are now inside a new namespace 'msa::fluid::'\n\n### v2.0\n- move to centralized MSALibs (requires MSACore)\n- everything is msa:: namespace\n- u[] and v[] condensed to (Vec2f uv[])\n- r[], g[], b[] condensed to (Vec3f color[])\n- unified API for getting and setting info:\n   - all vel \u0026 colors set and get with the structs\n   - all getters and setters have 3 functions, index, (i, j), Vec2f pos\n\n### v1.2\t02/05/2009\n- unified API with processing.org version\n- solver u, v, r, g, b arrays now public\n- drawer can incDrawMode and decDrawMode\n- loads of optimizations by Maa (http://www.lagraine.com/ - new content coming soon)\n\n### v1.1\t07/04/2009\n- changed license to revised BSD (a lot more more permissive than GPL)\n\n### v1.0\n- added RGB or monochrome functionality (enableRGB())\n- vector drawing implemented\n- get and set info much improved\n- added draw mode system\n- setup() now only takes dimensions, other parameters have their own setters\n\n### v0.9\t04/12/08\n- initial version\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo%2Fofxmsafluid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemo%2Fofxmsafluid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo%2Fofxmsafluid/lists"}