Art-in-Swift
Anime4KMetal
Art-in-Swift | Anime4KMetal | |
---|---|---|
8 | 1 | |
77 | 83 | |
- | - | |
2.3 | 5.4 | |
about 1 year ago | 8 months ago | |
Swift | Swift | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Art-in-Swift
- Labyrinthe
-
2D slime creatures [OC]
Thanks! It is done in pure Metal(it’s like glsl but by Apple). The only framework I used is my own open source wrapper for Metal that I called MetalBuilder. It makes it easier to create and manage buffers, textures and shaders. If you interested you may want to check out some other stuff that I made using MetalBuilder: https://github.com/gadirom/Art-in-Swift I also have a subreddit dedicated to it: https://www.reddit.com/r/MetalBuilder/
-
The new version of MetalBuilder is out!
It's a wrapper for Metal based on Swift's ResultBuider and property wrappers. Allows to dispatch shaders with very little Swift code. Also it automatically generates most of the declarations for the shaders on the Metal side. It's pure Swift, so you may run it on an iPad in Swift Playgrounds. Here is an example of usage: https://github.com/gadirom/Art-in-Swift/blob/main/SplinesRenderer.swiftpm/README.md
- Polishing the new building block for dynamic interpolated 2D-mesh creation and rendering
-
Particles simulation controlled by Apple's Vision (Sound!)
this is a broken link edit: fixed https://github.com/gadirom/Art-in-Swift/tree/main/MetalBuilder_Particles_Vision.swiftpm
- MetalBuilder on the left, ReordableViews on the right
- Swift playground run on an iPad, drawn with Core graphics inside SwiftUI view
-
Touch sensitive particles, coded on an iPad
Glad you liked it! iPad has a free app called Swift Playgrounds, with which you can even produce and publish an app to the app store. In many cases it's as powerful as XCode, e.g. you have access to Metal - Apple's analog to OpenGL. Here you may find a collection of snippets that can be run on an iPad straight away, just copy paste one of them into a new Playground. The technology used there is very similar, except that particles in the video above are generated in an App (instead of Playground - these are two kinds of documents available in Swift Playgrounds) and use my custom declarative wrapper for Metal, which simplifies things a ton. I hope to make it into an open source package soon and write some tutorials, so stay tuned!
Anime4KMetal
-
Are there any video players that allow for real time shaders?
Recently got an AppleTV 4k, and I’m wondering if there’s any video players that allow for shaders? I use MPV on my PC and the quality increases I get from them are massive. The only thing I could find was https://github.com/imxieyi/Anime4KMetal for Anime4k - which would work but I’d have to stream videos over via URL. On PC I use a plex MPV Shim, but i’m not sure if something like that is available.
What are some alternatives?
Whisky - A modern Wine wrapper for macOS built with SwiftUI
EFQRCode - A better way to operate QR Code in Swift, support iOS, macOS, watchOS and tvOS.
MetalBuilder - Declarative dispatching of Metal shaders from SwiftUI views
AudioKit - Audio synthesis, processing, & analysis platform for iOS, macOS and tvOS
Throttler - One Line to throttle, debounce and delay: Say Goodbye to Reactive Programming such as RxSwift and Combine.
SwiftyStoreKit - Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺
Satin - A 3D Graphics Framework built on Apple's Metal
SwifterSwift - A handy collection of more than 500 native Swift extensions to boost your productivity.
ToyFlightSimulator - Toy Flight Simulator implemented with Swift and Metal
Valet - Valet lets you securely store data in the iOS, tvOS, or macOS Keychain without knowing a thing about how the Keychain works. It’s easy. We promise.
XCGLogger - A debug log framework for use in Swift projects. Allows you to log details to the console (and optionally a file), just like you would have with NSLog() or print(), but with additional information, such as the date, function name, filename and line number.