johnlime / TuringFluid

2D physics engine for games

Home Page:http://google.github.io/liquidfun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LiquidFun logo

LiquidFun Version [1.1.0][]

Attempting Implementation of Turing Pattern in Movable Cellular Automaton

Attempt in implementation of turing pattern in a particle-based fluid simulation. Testbed module is used for implementation. I modified turing_fluid⁩/liquidfun/Box2D⁩/Box2D⁩/Particle⁩/b2Particle.h and turing_fluid⁩/liquidfun/Box2D⁩/Box2D⁩/Particle⁩/b2ParticleSystem.cpp to add a Turing Pattern functionality in TuringColorMixing class and added turing_fluid⁩/liquidfun/Box2D⁩/Testbed/TuringFluid.h for visualization. For building on an Xcode project in MacOS, execute the following commands.

cd liquidfun/Box2D
cmake -G "Xcode"

Build All Build in Xcode and run Testbed in order to visualize the simulation.

Current Problems

Slow execution. Massive drop in framerate.

About

2D physics engine for games

http://google.github.io/liquidfun


Languages

Language:C++ 53.8%Language:C 20.4%Language:JavaScript 14.2%Language:Python 3.3%Language:HTML 1.8%Language:Shell 1.6%Language:Objective-C 1.2%Language:Makefile 1.2%Language:CMake 0.8%Language:Objective-C++ 0.5%Language:Batchfile 0.4%Language:C# 0.3%Language:Assembly 0.3%Language:M4 0.3%Language:GLSL 0.2%