Small example of using Metal in Swift. All the data updates happen in the GPU.
Small example of using Metal in Swift