Code Monkey home page Code Monkey logo

shallowwaterios's Introduction

ShallowWateriOS

Real-time water simulation demos on iOS

This project contains several water simulation demos.

The mechanism driving the motion of the simulated water is derived from Navier-Storks Equation in Computational Fluid Dynamics. The employed method is a combination of grid and particle based fluid simulation approaches. The water surface is represented by a 2D height field named Shallow Water Equation(SWE), which is a simplification of Navier-Storks Equation. A particle system is invited to represent the surface details such as waves and splashes. Simple two-way interactions between the fluid and solids are also implemented.

The algorithm is based on the SIGGRAPH 2010 paper: Real-time simulation of large bodies of water with small scale details. The demos are rendered with iSGL3D graphics library, which is available on http://isgl3d.com. Physical details are powered by bullet physics engine. The programming language is Objective-C++, a combination of Objective-C and C++. All the codes are compiled in Xcode 5 with iOS SDK 6.1. Caution: the project does not run well with iOS SDK 7.0+ due to compatibility problems of iSGL3D.

863项目的一个小小部分,虽然不涉密,尼玛低调点好不好

shallowwaterios's People

Contributors

akasteven avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.