Skip to content

JuaniRaggio/fluid-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid simulator -> Colisions between liquids and solids


Video frames are affected by the gif conversion Simulator preview Simulator preview2

[!important] Note This implementation doesn't depend of the operating system so it should be working independently of the OS You require to have SDL2 installed

Keybindings


  • SPACE_BAR: Swap through materials
  • BACKSPACE: Toggle delete mode
  • Left-Click: Add block of current material

Archives


  • build.sh: Works as a makefile, it is used to compile the proyect with the desired flags, compiler and manages included directories
  • linuxBuild.sh: Idem build but works for linux, its more reliable
  • main.c: Manages the workflow of the simulation, calls functions in order to make the program work properly and calls functions to manage errors
  • src/: Directory with the source of the functions called by the main file
  • include/; Directory with the header files of the functions called by the main file, window formats and error-management files

About

Interactive simulation of fluid using SDL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published