Fluid simulator based on Robert Bridson's Siggraph notes