Example And Guide: An Optimized Reaction Diffusion Simulation Using The Metal Graphics API

In the last couple of months I mentioned an extensive collection of iOS 8 source code including some examples using Metal along with an in-depth beginners tutorial on using Metal.

Here’s a guide and example submitted by Simon Gladman in which he has created and optimized a reaction diffusion simulation using the Metal API.

This video shows the simulation in action:

There are three guides explaining the creation of this example covering the initialisation of metal through to optimizing the project to the point where 1,000 reaction diffusion solver iterations per second are displayed on an iPad Air 2.

You can find the three parts to the tutorial on the FlexMonkey blog: Part 1, Part 2, Part 3

You can find the Metal Reaction Diffusion Example source code on Github here.

A nice example of some high performance programming using the Metal framework.

FacebookTwitterDiggStumbleUponGoogle Plus

Original article: Example And Guide: An Optimized Reaction Diffusion Simulation Using The Metal Graphics API

©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *