48 Repositories
Swift metal Libraries
Swift Package Manager plug-in to compile Metal files that can be debugged in Xcode Metal Debugger.
MetalCompilerPlugin Swift Package Manager plug-in to compile Metal files that can be debugged in Xcode Metal Debugger. Description Swift Package Manag
A Metal re-implementation of GLKit's GLKBaseEffect
MBEBaseEffect: Antique Fixed-Function Features for Modern Apps When GLKit was introduced with iOS 5 (2011), it included the GLKBaseEffect class to all
Swift ports of Apple's Objective-C / C++ sample code
MetalSampleCodeSwift Swift ports of Apple's Objective-C / C++ sample code Metal is a great API, but it can feel inaccessible for Swift developers due
A Metal application that mimics SAO "Link Start" scene.
SAO Link Start Effect This is a Metal application that mimics SAO "Link Start" scene. Building The project requires Xcode 13.3 or later version. The a
new home for the non-Metal framework shims!
Moraea non-Metal Frameworks The core of the non-Metal patches: wrappers for downgraded frameworks, consisting of a mixture of autogenerated stubs and
Edit images and video with async / await in Swift, powered by Metal.
AsyncGraphics The core value type in AsyncGraphics is a Graphic. It's like an image, tho it can be used with various async methods. Documentation Swif
Playing with Core Image and Metal Shader Language for fun.
Playing with Core Image and Metal Shader Language for fun.
Extract Metal functions from .metallib files.
Metal Library Archive MetalLibraryArchive is a product of reverse-engineering Apple's metallib file format. You can use MetalLibraryArchive to get the
Visualiser written in Swift, SwiftUI and Metal API
ModularMTL About Visualisation of modular multiplication on a circle. Written in Swift using Metal API and SwiftUI. Images Features Keyboard controls
MSLView - Shadertoy-style SwiftUI view
MSLView SwiftUI view for Shadertoy-style MSL shaders import MSLView struct Cons
VRTracerSample - Learning project in Metal Ray Tracing and Swift
VRTracer This is a personal project for learning Metal's Ray Tracing API with sw
An example app showing how to use AVCaptureSession with Metal in Swift.
#iOSSwiftMetalCamera Click here to see video demo. This app is a basic example showing how to use Swift to setup an AVCaptureSession session to access
A powerful SwiftUI Architecture that merges Redux to the functional world of Swift. While bringing powerful workflows to streamline CoreML/Metal/IPFS usage in the Apple ecosystem.
GraniteUI - v0.0 - WIP A powerful SwiftUI Architecture that merges Redux event handling and state management with functional programming. While bringi
Photo Assessment using Core ML and Metal.
PhotoAssessment Photo Assessment (i.e. quality score) using Core ML and Metal. ๐ Article ไฝฟ็จ Metal ๅ Core ML ่ฏไปท็ ง็่ดจ้ Parallel Computation using MPS ๐ฎ
Tiny YOLO for iOS implemented using CoreML but also using the new MPS graph API.
YOLO with Core ML and MPSNNGraph This is the source code for my blog post YOLO: Core ML versus MPSNNGraph. YOLO is an object detection network. It can
Demonstrates using ARKit in iOS to apply metal shaders to real world surfaces
Reality Shaders Demonstrates using ARKit to apply metal shaders to real world surfaces. Links: Demo video Blog post In The Walls (production app using
Superimposes your image into a 3D world using Metal+Arkit
arkit-virtual-backdrop Superimposes your image into a 3D rendered world using Metal+ARKit. This example calculates depth to viewer's face, and uses it
Code examples for ARKit.
ARKit-Sampler ARKit-Sampler is a collection of ARKit samples. How to build Open ARKit-Sampler.xcworkspace with Xcode and build it. It can NOT run on S
Quick demo of 3d drawing in ARKit using metal + SceneKit. NOTE: This is experimental code!
ARBrush Quick demo of 3d drawing in ARKit using metal + SceneKit. Code adapted from: https://github.com/lapfelix/ARKit-line-drawing and: https://www.r
Palico Engine: Metal-Based Game Engine in Swift ๐
Palico Engine: Metal-Based Game Engine in Swift ๐ Implement a game engine on macOS using Metal API. Still in development. Currently I am working on a
The first affordable AR headset experience
AR MultiPendulum: AR Headset Experience AR MultiPendulum allows users to interact with virtual objects directly with their hand instead of tapping an
Train neural networks with hardware acceleration in Swift
SwiftML SwiftML enables hardware-accelerated machine learning on Mac with an int
Anime4K for Apple platforms based on Metal
Anime4KMetal Introduction This is a port of Anime4K to Metal. It dynamically translates GLSL shaders to Metal shaders and applies them during video pl
1D, 2D, and 3D variations of Fast Fourier Transforms for a Metal S4TF backend
MetalFFT MetalFFT is an experiment in adding GPU acceleration for 1D, 2D, and 3D variations of Fast Fourier Transforms. This framework's original purp
1D, 2D, and 3D variations of Fast Fourier Transforms for a Metal S4TF backend
MetalFFT MetalFFT is an experiment in adding GPU acceleration for 1D, 2D, and 3D variations of Fast Fourier Transforms. This framework's original purp
PyTorch to CoreML: Writing custom layers with Metal
pytorch-coreml-custom-layer-example PyTorch to CoreML: Writing custom layers with Metal Convert PyTorch model cd Convert python3 -m pip install -r req
Dogtector: dog breed detection app for iOS using YOLOv5 model combined with Metal based object decoder optimized
Dogtector Project description Dogtector is dog breed detection app for iOS using YOLOv5 model combined with Metal based object decoder optimized for u
Simple calculation to render cheap water effects.
Water Simple calculation to render cheap water effects. This simple project demonstrates : how to use Metal draw compute shader, or known as 'kernal f
Boids written in the Metal Shader language + Swift
MetalBoid Boids written in the Metal Shader language + Swift This is an example of a Boid simulating running in iOS using Swift+Metal. The parameters
A simple mesh viewer for MacOS based on Swift and Metal and using Assimp for loading meshes
Metal Mesh Viewer A simple triangle mesh viewer for MacOS This application is a simple (triangle) mesh viewer that should be capable of rendering even
The first affordable AR headset experience
AR MultiPendulum: AR Headset Experience AR MultiPendulum allows users to interact with virtual objects directly with their hand instead of tapping an
An interactive body tracking installation
SharingElements An interactive body tracking installation Requirements Hardware requirements: MacOS computer (preferably (M1 chip)[https://en.wikipedi
View Metal GPU information from the command-line.
View Metal GPU information from the command-line.
A GPU accelerated image and video processing framework built on Metal.
MetalPetal An image processing framework based on Metal. Design Overview Goals Core Components MTIContext MTIImage MTIFilter MTIKernel Optimizations C
GPU-based media processing library using Metal written in Swift
GPU-based media processing library using Metal written in Swift. Overview MetalAcc is a GPU-Based media processing library that lets you apply GPU-acc
A Swift deep learning library with Accelerate and Metal support.
Serrano Aiming to offering popular and cutting edge techs in deep learning area on iOS devices, Serrano is developed as a tool for developers & resear
Easily craft fast Neural Networks on iOS! Use TensorFlow models. Metal under the hood.
Bender Bender is an abstraction layer over MetalPerformanceShaders useful for working with neural networks. Contents Introduction Why did we need Bend
A python library to run metal compute kernels on MacOS 12
metalcompute for Python A python library to run metal compute kernels on MacOS Usage Example execution from M1-based Mac running MacOS 12.0: ./build
Using $5 Google Cardboard to replicate Hololens
ARHeadsetKit (Beta) Using a $5 Google Cardboard, the average person can now replicate Microsoft Hololens. Apps built with ARHeadsetKit are immersive A
2D ECS game engine in 100% Swift + SwiftUI for iOS, macOS, tvOS
OctopusKit A 2D game engine based on ECS and written in 100% Swift for iOS, macOS and tvOS. If you've tried making a game in Swift while sticking to t
High-performance and flexible video editing and effects framework, based on AVFoundation and Metal.
High-performance and flexible video editing and effects framework, based on AVFoundation and Metal.
Demo of using Metal to render EDR / HDR content on iOS platform
MetalEDR-iOS Demo of using Metal to render EDR/HDR content on iOS platform. How it works This demo uses a hack to activate EDR display on iOS platform
๐ท A composable image editor using Core Image and Metal.
Brightroom - Composable image editor - building your own UI Classic Image Editor PhotosCrop Face detection Masking component ๐ v2.0.0-alpha now open!
BrainCore is a simple but fast neural network framework written in Swift.
BrainCore is a simple but fast neural network framework written in Swift. It uses Metal which makes it screamin' fast. If you want to see it
Overlay alpha channel video animation player view using Metal.
Overlay alpha channel video animation player view using Metal. Example To run the example project, clone the repo, and run pod install from the Exampl
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
GPUImage 3 Janie Clayton http://redqueengraphics.com @RedQueenCoder Brad Larson http://www.sunsetlakesoftware.com @bradlarson contact@sunsetlakesoftwa
FlexibleImage is implemented with the hope that anyone could easily develop an app that provides features such as Camera Filter and Theme.
FlexibleImage is implemented with the hope that anyone could easily develop an app that provides features such as Camera Filter and Theme. When you wr
๐ท A composable image editor using Core Image and Metal.
Brightroom - Composable image editor - building your own UI Classic Image Editor PhotosCrop Face detection Masking component ๐ v2.0.0-alpha now open!