{"id":26520078,"url":"https://github.com/fbertola/natrix","last_synced_at":"2025-06-15T15:03:44.595Z","repository":{"id":47832565,"uuid":"166882239","full_name":"fbertola/Natrix","owner":"fbertola","description":"Fast fluid simulation in Python :snake:","archived":false,"fork":false,"pushed_at":"2021-10-10T19:42:58.000Z","size":11457,"stargazers_count":31,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-10-20T19:48:37.205Z","etag":null,"topics":["bgfx","fluid-simulation","navier-stokes","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/fbertola.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":"2019-01-21T21:19:24.000Z","updated_at":"2023-04-17T18:53:52.000Z","dependencies_parsed_at":"2022-09-13T05:53:17.282Z","dependency_job_id":null,"html_url":"https://github.com/fbertola/Natrix","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbertola%2FNatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbertola%2FNatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbertola%2FNatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbertola%2FNatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbertola","download_url":"https://codeload.github.com/fbertola/Natrix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244795471,"owners_count":20511520,"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":["bgfx","fluid-simulation","navier-stokes","python"],"created_at":"2025-03-21T11:48:49.186Z","updated_at":"2025-03-21T11:48:49.857Z","avatar_url":"https://github.com/fbertola.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e \n  \u003cbr\u003e\n  Natrix\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eFast fluid simultation in Python.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/python-v3.7+-blue.svg\"\u003e\n  \u003ca href=\"https://travis-ci.com/fbertola/Natrix\"\u003e\u003cimg src=\"https://travis-ci.com/fbertola/Natrix.svg?branch=master\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/dependencies-up%20to%20date-brightgreen.svg\"\u003e\n  \u003ca href=\"https://github.com/fbertola/Natrix/issues\"\u003e\u003cimg src=\"https://img.shields.io/github/issues/fbertola/Natrix.svg\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/contributions-welcome-orange.svg\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#key-features\"\u003eKey Features\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#credits\"\u003eCredits\u003c/a\u003e •\n  \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/fbertola/Natrix/master/media/screenshot.png\"\u003e\n\u003c/p\u003e\n\n## Key Features\n\n* Fast - leverages Compute Shaders to offload most of the calculations to the GPU.\n* Built with BGFX rendering engine, supporting OpenGL, Vulkan, Metal and DirectX backends.\n* Vorticity confinement. \n* Fluid obstacles.\n* Poisson kernel.\n\n## How To Use\n\nTo use this library, you'll need [Poetry](https://github.com/python-poetry/poetry):\n\n```bash\n# Clone this repository\n$ git clone https://github.com/fbertola/Natrix .\n\n# Go into the repository\n$ cd Natrix\n\n# Install dependencies\n$ poetry install\n```\n\n## Examples\n\nIn the [demo](https://github.com/fbertola/Natrix/tree/master/demo) folder you will find a complete example, be sure to check it out. \n\n## Credits\n\nThis software uses the following open source packages:\n\n- [BGFX](https://github.com/bkaradzic/bgfx)\n- [BGFX Python Wrapper](https://github.com/fbertola/bgfx-python)\n\n[License (BSD 2-clause)](https://raw.githubusercontent.com/fbertola/bgfx-python/master/LICENSE)\n-----------------------------------------------------------------------\n\n\u003ca href=\"http://opensource.org/licenses/BSD-2-Clause\" target=\"_blank\"\u003e\n\u003cimg align=\"right\" src=\"http://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png\"\u003e\n\u003c/a\u003e\n\n    BSD 2-Clause License\n    \n    Copyright (c) 2021, Federico Bertola\n    All rights reserved.\n    \n    Redistribution and use in source and binary forms, with or without\n    modification, are permitted provided that the following conditions are met:\n    \n    1. Redistributions of source code must retain the above copyright notice, this\n       list of conditions and the following disclaimer.\n    \n    2. Redistributions in binary form must reproduce the above copyright notice,\n       this list of conditions and the following disclaimer in the documentation\n       and/or other materials provided with the distribution.\n    \n    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\n    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\n    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n---\n\n\u003e GitHub [@fbertola](https://github.com/fbertola)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbertola%2Fnatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbertola%2Fnatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbertola%2Fnatrix/lists"}