{"id":17078891,"url":"https://github.com/hatoo/fluid-animations","last_synced_at":"2025-08-23T20:11:15.350Z","repository":{"id":147905000,"uuid":"405922734","full_name":"hatoo/fluid-animations","owner":"hatoo","description":"My codes for The Art of Fluid Animation","archived":false,"fork":false,"pushed_at":"2021-09-27T11:15:49.000Z","size":24433,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T12:30:00.677Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hatoo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-09-13T10:09:32.000Z","updated_at":"2022-11-10T16:17:50.000Z","dependencies_parsed_at":"2023-05-27T21:30:40.966Z","dependency_job_id":null,"html_url":"https://github.com/hatoo/fluid-animations","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hatoo/fluid-animations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatoo%2Ffluid-animations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatoo%2Ffluid-animations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatoo%2Ffluid-animations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatoo%2Ffluid-animations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hatoo","download_url":"https://codeload.github.com/hatoo/fluid-animations/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hatoo%2Ffluid-animations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271767962,"owners_count":24817591,"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-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-10-14T12:23:53.574Z","updated_at":"2025-08-23T20:11:15.300Z","avatar_url":"https://github.com/hatoo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluid-animations\n\nMy codes for [The Art of Fluid Animation](https://www.routledge.com/The-Art-of-Fluid-Animation/Stam/p/book/9781498700207) (01 to 05) and [Fluid Simulation for Computer Graphics](https://www.routledge.com/Fluid-Simulation-for-Computer-Graphics/Bridson/p/book/9781482232837) (06-).\n\n## Run\n\n```\ncargo run --release --bin 01_diffuse\n```\n\nOpen images in `out` directory.\n\n# Demos\n\n## 01_diffuse\n\n![01_diffuse](demos/01_diffuse.gif)\n\n## 02_dens_step\n\n![02_dens_step](demos/02_dens_step.gif)\n\n## 03_vector_noise\n\n![03_vector_noise](demos/03_vector_noise.gif)\n\n## 04_multiple_densities\n\n![04_multiple_densities](demos/04_multiple_densities.gif)\n\n## 05_vel_step\n\n![05_vel_step](demos/05_vel_step.gif)\n\n## 06_advect_improved\n\n![06_advect_improved](demos/06_advect_improved.gif)\n\n## 07_mac_uv\n\n![06_advect_improved](demos/07_mac_uv.gif)\n\n## 08_gauss_filter\n\n![08_gauss_filter](demos/08_gauss_filter.gif)\n\n## 09_buoyancy\n\n![08_gauss_filter](demos/09_buoyancy.gif)\n\n## Cheat sheet\n\nCreate movie file from pngs\n\n```\nffmpeg -r 24 -i out/%06d.png -pix_fmt yuv420p out.mp4\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatoo%2Ffluid-animations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhatoo%2Ffluid-animations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhatoo%2Ffluid-animations/lists"}