syfluid is a funny toy as well as a real simulation. It simulates a fluid or a gas in a very colorful, graphic and sometimes psychodelic way. In realtime!

Drag while your right mouse button is pressed to "draw" the fluid/density field. Drag while your left mouse button is pressed to make the whole thing move, i.e. to "draw" the "forces" that you're adding to the fluid/density field. Press "r" to clear the screen and "m" to open the menu. Press "1" .. "8" to switch color presets. SPACE to pause. "s" to save a png or jpg.

syfluid is written in C++ using OpenGL. Even though it is heavily performance optimized and using OpenGL Shading Language (GLSL), it is a performance hog. Use "f" to show the FPS. If they are lower than 30, then reduce the quality parameter that you find in the menu from 200 to e.g. 100. For very fast graphic cards, try 400 and above.

This fluid simulation is based on on Jos Stam's paper:
http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/GDC03.pdf

Project Samples

Project Activity

See All Activity >

License

Creative Commons Attribution License

Follow syfluid

syfluid Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of syfluid!

Additional Project Details

Operating Systems

Mac, Windows

Languages

English

Intended Audience

Developers, End Users/Desktop

Programming Language

C++

Related Categories

C++ Graphics Software, C++ Simulation Software, C++ Fractal Software

Registered

2013-05-09