Get Updates By E-mail 

Article Written By:
Johann Dowa

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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments