102 Repositories
Swift metal-performance-shaders 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
AuroraEditor is a IDE built by the community, for the community, and written in Swift for the best native performance and feel for macOS.
AuroraEditor AuroraEditor is a IDE built by the community, for the community, and written in Swift for the best native performance and feel for macOS.
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
Hide the "Latest Video Performance" tab in YouTube Studio
Hide Latest Video Performance - YT Studio Extension that hides the stupid YouTube Studio "Latest Video Performance" / "Latest YouTube Short Performanc
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
🥷 High-performance polyline simplification library - port of simplify.js
High-performance polyline simplification library SwiftSimplify is a tiny high-performance Swift polyline simplification library ported from Javascript
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
An enhancement built on top of Foundation Framework and XCTest.
Beton is a Swift library built on top of the Foundation framework, that provides an additional layer of functionality, including easy localization, performance test measurement support, and convenience functionality. For us, Beton is primarily, but not exclusively, useful for server-side Swift engineering.
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
DynamicBlurView is a dynamic and high performance UIView subclass for Blur.
DynamicBlurView DynamicBlurView is a dynamic and high performance UIView subclass for Blur. Appetize's Demo Since using the CADisplayLink, it is a hig
Reusable GridView with excellent performance and customization that can be time table, spreadsheet, paging and more.
GridView GridView can tile the view while reusing it. It has an API like UIKit that works fast. Even when device rotates it smoothly relayout. Appetiz
Detailed explanations and implementations of various maths concepts for writing high performance code/algorithms backed with Unit tests.
Detailed explanations and implementations of various maths concepts which can help software Engineers write high performance code/algorithms backed with Unit tests.
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
High Performance UTF8 for Swift
High Performance UTF8 for Swift Consider Hitch as an alternative to String.
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
Swift-json - High-performance json parsing in swift
json 0.1.4 swift-json is a pure-Swift JSON parsing library designed for high-per
VRTracerSample - Learning project in Metal Ray Tracing and Swift
VRTracer This is a personal project for learning Metal's Ray Tracing API with sw
Ss-json - High-performance json parsing in swift
json 0.1.1 swift-json is a pure-Swift JSON parsing library designed for high-per
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
Iperf-ios - iPerf 3 library and app for iOS
iPerf iOS Run an iPerf3 client on your iPhone or iPad, including reverse mode and multiple stream selection: Download Download on the App Store. Why?
Shows your current framerate (fps) in the status bar of your iOS app
WatchdogInspector Shows your current framerate (fps) in the status bar of your iOS app Be a good citizen! Don't block your main thread! WatchdogInspec
Train neural networks with hardware acceleration in Swift
SwiftML SwiftML enables hardware-accelerated machine learning on Mac with an int
Lock a terminal command to the efficiency or performance cores on a big.LITTLE ARM processor.
cpu-lock Lock a terminal command to the efficiency or performance cores on a big.LITTLE ARM processor (Designed for Apple Silicon). Usage Download the
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
High performance JSONPath queries for Swift
Sextant Sextant is a complete, high performance JSONPath implementation written in Swift. It was originally ported from SMJJSONPath, which in turn is
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
A high-performance button control with rounded corners for iOS.
TORoundedButton TORoundedButton is an open source UI control of a standard user button. Its design consists of displaying text on top of a solid recta
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
Lock a terminal command to the efficiency or performance cores on a big.LITTLE ARM processor
CPU-Lock Lock a terminal command to the efficiency or performance cores on a big.LITTLE ARM processor (Designed for Apple Silicon). Usage Download the
Show the weather effects onto view written in Swift4.2
URWeatherView What is this for? Showing some kinds of the weather effect, written in Swift4.2. This code style is the Protocol Oriented Programming. T
A high-performance, flexible, and easy-to-use Video compressor library written by Swift.
FYVideoCompressor A high-performance, flexible and easy to use Video compressor library written by Swift. Using hardware-accelerator APIs in AVFoundat
High Performance (nearly)100% Swift Web server supporting dynamic content.
Dynamo - Dynamic Swift Web Server Starting this project the intention was to code the simplest possible Web Server entirely in Swift. Unfortunately I
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
🟣 Verge is a very tunable state-management engine on iOS App (UIKit / SwiftUI) and built-in ORM.
Verge.swift 📍 An effective state management architecture for iOS - UIKit and also SwiftUI 📍 _ An easier way to get unidirectional data flow _ _ Supp
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
SwiftyGif - High performance & easy to use Gif engine
SwiftyGif High performance & easy to use Gif engine Features UIImage and UIImageView extension based Remote GIFs with customizable loader Great CPU/Me
An animated gif & apng engine for iOS in Swift. Have a great performance on memory and cpu usage.
Features Small but complete, only200lines of code. Allow to control display quality, memory usage, loop time and display progress. Have a great perfor
High performance and delightful way to play with APNG format in iOS.
APNGKit is a high performance framework for loading and displaying APNG images in iOS and macOS. It's built with high-level abstractions and brings a
High-performance animated GIF support for iOS in Swift
Gifu adds protocol-based, performance-aware animated GIF support to UIKit. (It's also a prefecture in Japan). Install Swift Package Manager Add the fo
Painless high-performance audio on iOS and Mac OS X
An analgesic for high-performance audio on iOS and OSX. Really fast audio in iOS and Mac OS X using Audio Units is hard, and will leave you scarred an
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
Coreml-performance project works on MacOS to test M1 macbooks
ml-macos-performance This project is inspired by Vladimir Chernykh coreml-performance project for iOS. I made changes so it works on MacOS to test M1
🏈 Cache CocoaPods for faster rebuild and indexing Xcode project.
Motivation Working on a project with a huge amount of pods I had some troubles: - Slow and unnecessary indexing of pods targets, which implementation
An extreme queuing system with high performance for managing all task in app with closure
SwiftyTask An extreme queuing system with high performance for managing all task in app with closure Task Method Tasking of queued closure on GCD (Gra
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
An extreme queuing system with high performance for managing all task in app with closure
SwiftyTask An extreme queuing system with high performance for managing all task in app with closure Task Method Tasking of queued closure on GCD (Gra
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
一款面向泛前端产品研发全生命周期的效率平台。
简介 领域生态 使用手册 更新日志 社区活动 开发背景 功能模块 一、平台工具(www.dokit.cn) 二、常用工具 三、性能检测 四、视觉工具 五、Weex专项工具(CML专项工具) 六、支持自定义的业务工具集成到面板中 七、微信小程序专项工具 相关文档 微信交流群(一群满员,已开二群) QQ
Profiling / Debugging assist tools for iOS. (Memory Leak, OOM, ANR, Hard Stalling, Network, OpenGL, Time Profile ...)
MTHawkeye Readme 中文版本 MTHawkeye is profiling, debugging tools for iOS used in Meitu. It's designed to help iOS developers improve development producti
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
🟣 Verge is a very tunable state-management engine on iOS App (UIKit / SwiftUI) and built-in ORM.
Verge is giving the power of state-management in muukii/Brightroom v2 development! Verge.swift 📍 An effective state management architecture for iOS -
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.
Find memory issues & leaks in your iOS app without instruments
HeapInspector Find memory issues & leaks in your iOS app HeapInspector is a debug tool that monitors the memory heap with backtrace recording in your
High performance cache framework for iOS.
YYCache High performance cache framework for iOS. (It's a component of YYKit) Performance You may download and compile the latest version of sqlite an
Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's performance better.
RxSwift-Multi-Threading-Example Example project guide you schedules multiple thread for network requests in RxSwift, which is optimize your app's perf
A pure Swift high-performance asynchronous image loading framework. SwiftUI supported.
Longinus Longinus is a pure-Swift high-performance asynchronous web image loading,caching,editing framework. It was learned from Objective-C web image
A mirror of Apple's sample code for high performance collection views in iOS 15.
Building High-Performance Lists and Collection Views Improve the performance of lists and collections in your app with prefetching and image preparati
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
High Performance (nearly)100% Swift Web server supporting dynamic content.
Dynamo - Dynamic Swift Web Server Starting this project the intention was to code the simplest possible Web Server entirely in Swift. Unfortunately I
BioViewer - Protein (.pdb, .cif and .fasta) viewer for iPhone, iPad and Mac, using SwiftUI + SceneKit
BioViewer - Protein (.pdb, .cif and .fasta) viewer for iPhone, iPad and Mac, using SwiftUI + SceneKit
A high-performance image library for downloading, caching, and processing images in Swift.
Features Asynchronous image downloader with priority queuing Advanced memory and database caching using YapDatabase (SQLite) Guarantee of only one ima
An extremely high-performance, lightweight, and energy-efficient pure Swift async web image loader with memory and disk caching for iOS and Watch.
KFSwiftImageLoader KFSwiftImageLoader is an extremely high-performance, lightweight, and energy-efficient pure Swift async web image loader with memor
High-performance animated GIF support for iOS in Swift
Gifu adds protocol-based, performance-aware animated GIF support to UIKit. (It's also a prefecture in Japan). Install Swift Package Manager Add the fo
Library for iOS Camera API. Massively increase performance and ease of use within your next iOS Project.
CameraKit helps you add reliable camera to your app quickly. Our open source camera platform provides consistent capture results, service that scales,
📷 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!
Shows your current framerate (fps) in the status bar of your iOS app
WatchdogInspector Shows your current framerate (fps) in the status bar of your iOS app Be a good citizen! Don't block your main thread! WatchdogInspec
🏈 Cache CocoaPods for faster rebuild and indexing Xcode project.
🏈 Cache CocoaPods for faster rebuild and indexing Xcode project.
🐦 Flappy Bird reincarnation [Swift 5.3, GameplayKit, SpriteKit, iOS 12].
🐦 Flappy Bird reincarnation [Swift 5.3, GameplayKit, SpriteKit, iOS 12].
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
High performance Swift treemap layout engine for iOS and macOS.
Synopsis YMTreeMap is a high performance treemap layout engine for iOS and macOS, written in Swift. The input to YMTreeMap is a list of arbitrary numb
High performance and lightweight UIView, UIImage, UIImageView, UIlabel, UIButton, Promise and more.
SwiftyUI High performance and lightweight UIView, UIImage, UIImageView, UIlabel, UIButton and more. Features SwiftyView GPU rendering Image and Color
High performance GIF engine
SwiftyGif High performance & easy to use Gif engine Features UIImage and UIImageView extension based Remote GIFs with customizable loader Great CPU/Me
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
Gifu adds protocol-based, performance-aware animated GIF support to UIKit.
Gifu adds protocol-based, performance-aware animated GIF support to UIKit. (It's also a prefecture in Japan). Install Swift Package Manager Add the fo
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!
APNGKit is a high performance framework for loading and displaying APNG images in iOS and macOS.
APNGKit is a high performance framework for loading and displaying APNG images in iOS and macOS. It's built on top of a modified version of libpng wit
Imagine Engine - a fast, high performance Swift 2D game engine for Apple's platforms
Welcome to Imagine Engine, an ongoing project that aims to create a fast, high performance Swift 2D game engine for Apple's platforms that is also a j