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
Go from Data Warehouse to Data and AI platform with BigQuery Icon
Go from Data Warehouse to Data and AI platform with BigQuery

Build, train, and run ML models with simple SQL. Automate data prep, analysis, and predictions with built-in AI assistance from Gemini.

BigQuery is more than a data warehouse—it's an autonomous data-to-AI platform. Use familiar SQL to train ML models, run time-series forecasts, and generate AI-powered insights with native Gemini integration. Built-in agents handle data engineering and data science workflows automatically. Get $300 in free credit, query 1 TB, and store 10 GB free monthly.
Try BigQuery 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