DEV Community

Cover image for Code with the power of Metal in Swift with AsyncGraphics
Anton Heestand
Anton Heestand

Posted on

Code with the power of Metal in Swift with AsyncGraphics

AsyncGraphics is a new Swift package I'm building for working with graphics in an async way. The core type is simply just called Graphic and it's like an image, tho backed by a MTLTexture and it comes with a lot of effects that can be applied.

The documentation is made with DocC and contains articles about setting up a live camera feed and editing video.

In AsyncGraphics you can create gradients, noise, and more content. Then you can blend with various blending modes, make an graphic monochrome, blur a graphic and even chroma key out a green screen.

There is also the option to write high level metal code in AsyncGraphics. No need to setup a pipeline.

AsyncGraphics is a work in progress project and there is more features to come!

Top comments (0)