Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Creative Coding
  3. AsyncGraphics

AsyncGraphics

MITSwift3.0.0

A Swift package for GPU-accelerated image and video editing using Swift concurrency and Metal.

Visit WebsiteGitHubGitHub
417 stars21 forks0 contributors

What is AsyncGraphics?

AsyncGraphics is a Swift package for GPU-accelerated image and video editing, built on Metal and designed for Swift concurrency. It provides a high-level API to perform visual effects, blending, layout, and real-time media processing efficiently on Apple platforms. The core abstraction is the `Graphic` type, which represents images as Metal textures and supports a wide range of manipulations.

Target Audience

iOS, macOS, and other Apple platform developers building applications that require real-time image/video processing, custom filters, camera effects, or dynamic graphics generation.

Value Proposition

Developers choose AsyncGraphics for its seamless integration of Metal performance with Swift's concurrency model, eliminating the complexity of low-level GPU programming while delivering high-speed visual computations. Its comprehensive built-in effects and declarative API reduce boilerplate and accelerate development of media-rich features.

Overview

Edit images and video with Swift concurrency, powered by Metal.

Use Cases

Best For

  • Adding real-time camera filters and effects in iOS apps
  • Building custom video editing tools for macOS
  • Implementing dynamic image processing pipelines with GPU acceleration
  • Creating interactive visualizations with blending and layout controls
  • Developing apps that require background removal or chroma key functionality
  • Prototyping or building graphics-intensive features without writing low-level Metal shaders

Not Ideal For

  • Projects targeting non-Apple platforms like Android or Web
  • Apps needing only basic image display without processing or effects
  • Teams without Metal or Swift concurrency expertise for debugging
  • Use cases where Apple's Core Image or AVFoundation provide sufficient built-in effects with less code

Pros & Cons

Pros

GPU Acceleration

Leverages Metal textures (MTLTexture) for all operations, ensuring high-performance image and video manipulation directly on the GPU, as highlighted in the core Graphic type documentation.

Comprehensive Effects Library

Includes a wide range of built-in effects like chroma key, face detection, blur, and blending modes, reducing the need for custom shader code, as detailed in the README's extensive feature list.

Modern Concurrency Support

Designed for Swift's structured concurrency with asynchronous operations, preventing main thread blocks and improving app responsiveness, emphasized in the concurrency-first design philosophy.

Flexible API Choices

Offers both declarative SwiftUI-like views (AGView) and imperative Graphic-based workflows, catering to different development styles, as shown in the examples for blending and camera handling.

Cons

Apple Platform Lock-in

Exclusively built for Apple platforms using Metal and Swift, making it unsuitable for cross-platform development and limiting its use to iOS, macOS, etc.

Metal Dependency Complexity

While it abstracts low-level Metal setup, developers still need GPU knowledge for advanced usage, and performance may vary on older devices without Metal support.

Steep Initial Setup

Requires understanding of Swift concurrency and multiple view types (e.g., AGView, GraphicView), which can be overwhelming for simple image tasks compared to lighter libraries.

Frequently Asked Questions

Quick Stats

Stars417
Forks21
Contributors0
Open Issues0
Last commit1 day ago
CreatedSince 2022

Tags

#camera#apple-platforms#graphics#metal#swift-concurrency#gpu-acceleration#graphics-library#image-processing#video#concurrency#swift#video-editing

Built With

S
SwiftUI
S
Swift
M
Metal

Links & Resources

Website

Included in

Creative Coding14.7k
Auto-fetched 5 hours ago

Related Projects

Canvas-sketchCanvas-sketch

[beta] A framework for making generative artwork in JavaScript and the browser.

Stars5,262
Forks400
Last commit29 days ago
LygiaLygia

LYGIA, it's a granular and multi-language (GLSL, HLSL, Metal, WGSL, WEGL and CUDA) shader library designed for performance and flexibility

Stars3,371
Forks218
Last commit3 months ago
Fragment.toolsFragment.tools

[alpha] A modern toolkit for creative coding

Stars931
Forks25
Last commit22 hours ago
PixelKitPixelKit

Live Graphics in Swift & Metal

Stars894
Forks67
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub