TransformGesture
Handle two finger transformation gesture in SwiftUI and Metal views (by gadirom)
Art-in-Swift
A collection of interactive animations made with code in Swift Playgrounds app (by gadirom)
TransformGesture | Art-in-Swift | |
---|---|---|
1 | 8 | |
21 | 77 | |
- | - | |
4.6 | 2.3 | |
12 months ago | about 1 year ago | |
Swift | Swift | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
TransformGesture
Posts with mentions or reviews of TransformGesture.
We have used some of these posts to build our list of alternatives
and similar projects.
Art-in-Swift
Posts with mentions or reviews of Art-in-Swift.
We have used some of these posts to build our list of alternatives
and similar projects.
- 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!
What are some alternatives?
When comparing TransformGesture and Art-in-Swift you can also consider the following projects:
MetalBuilder - Declarative dispatching of Metal shaders from SwiftUI views
Whisky - A modern Wine wrapper for macOS built with SwiftUI
Anime4KMetal - Anime4K for Apple platforms based on Metal
Throttler - One Line to throttle, debounce and delay: Say Goodbye to Reactive Programming such as RxSwift and Combine.
Satin - A 3D Graphics Framework built on Apple's Metal
ToyFlightSimulator - Toy Flight Simulator implemented with Swift and Metal