Skip to content

burakssen/zff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig Flip Fluid Simulation | ZFF

This project is a Zig port of the FLIP-Fluid simulation from Matthias Müller's Ten Minute Physics series.

Example Image

Installation & Usage

Prerequisites

  • Zig 0.15.2

Building and Running

Clone the repository:

git clone https://github.com/burakssen/zff
cd zff

Build and run the simulation (native):

zig build run -Doptimize=ReleaseFast

### WebAssembly Build

To build for WebAssembly using Emscripten:

zig build -Doptimize=ReleaseFast -Dtarget=wasm32-emscripten

The output will be in zig-out/web/ and can be served from there directly.

Original implementation: Matthias Müller's FLIP simulation

LICENCE

This project is licensed under the MIT License. See the LICENCE file for details.

About

Flip Fluid Simulation written in zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published