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.
- Tutorial: Beginners Guide To The Metal Graphics API
- Extensive iOS 8 Source Code Collection Covering Metal, Custom Filters, HealthKit And More
- Quick Summary: Apple Keynote (Apple Watch, iPhone 6, Apple Pay)
- Tutorial: Getting Started With iOS 8’s CloudKit
- Tutorial: How To Easily Integrate Touch ID Authentication Into An App
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.




