Metal N-Body Simulation

Last Revision:
Version 1.1, 2015-12-10
First release.
Build Requirements:
Xcode 7.1, iOS 9.1 SDK
Runtime Requirements:
iOS 9.1 or later

Performs an N-body simulation which calculates a gravity field and corresponding velocity and acceleration contributions accumulated by each body in the system from every other body. This further demonstrates performant techniques for compute kernel generating visualization data for the fragment and vertex stages in the Metal render pipeline.

This sample is intended to be built and used with devices listed on iOS device compatibility reference page: