Getting Inspired - sahilshahpatel/fluid-sim GitHub Wiki
Before we can get into the code, we have to get excited about the project!
Step one, then, is to see what the final product will look like:
You can play with our final version here. Another fun simulator to try is this one, which is more advanced than ours.
Step two is to watch Inspecto's YouTube video on fluid simulations. This video will give you the groundwork to understand the algorithm we will be using. If you haven't taken vector calculus, for example, it will be a good enough description of divergence and curl for our purposes.
Now that you're feeling sufficiently motivated, let's do a reality check. Before we get fluids flying around our screen, we are going to have to build up our foundation. That means that our first tasks will be basic -- understanding WebGL and the given code may feel far-removed from the final product while you are doing it. If you ever feel discouraged or bored, come back here and re-energize yourself!