Art-in-Swift
Whisky
Art-in-Swift | Whisky | |
---|---|---|
8 | 32 | |
77 | 10,179 | |
- | 5.5% | |
2.3 | 9.5 | |
about 1 year ago | 10 days ago | |
Swift | Swift | |
- | GNU General Public License v3.0 only |
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!
Whisky
- Quickemu: Quickly run optimised Windows, macOS and Linux virtual machines
-
Ask HN: State of gaming and it's developement on Apple Silicon
I don't think Apple really does much, at least nothing they've announced publicly.
However, Codeweavers (the company) makes Crossover, which can utilize GPT in its recent versions: https://www.codeweavers.com/crossover/
There is also Whisky, a FOSS app that uses Wine and GPT: https://github.com/Whisky-App/Whisky/ (unlike Codeweavers, it doesn't have per-game profiles, so you just have to look at its wiki and issues and try to get games to run on your own)
In my experience, neither is very good, and both are way more difficult to use than a real PC.
Maybe things will get better if the Apple VR headset spurs a game rush, but I doubt it will. In the meantime, I do all my Mac gaming on Geforce Now and it's been truly wonderful: https://www.nvidia.com/en-us/geforce-now/games/ You get a 4080 in the cloud for $20/mo, and no local heat or noise since the rendering happens remotely.
-
Diablo IV coming soon to GeForce Now
(Not affiliated with any of these companies, I just really like GeForce Now and use it every day, and have waited a loooooooong time for this to happen, hoping that Microsoft will do us a solid. They finally did!)
Thanks to Microsoft's acquisition of Activision (and them handing cloud streaming rights over to Ubisoft [1]), Diablo IV will soon be coming to Nvidia's cloud streaming service, GeForce Now [2].
GeForce Now offloads rendering to the cloud and makes your computer/tablet/phone act as a thin client that just receives the rendered frames and sends back control inputs. It's similar to how Google's failed Stadia program works, except Nvidia's offering uses your existing Steam/Epic/Xbox/etc. library, offers much more powerful hardware, and utilizes a lot of Nvidia-specific optimizations that Stadia never had.
Between DLSS, Reflex, and the upcoming cloud G-Sync, the game will likely run better on in the cloud than many desktop gaming PCs. The GeForce Now Ultimate tier comes with a RTX 4080 GPU, which is out of reach for many gamers due to its high price.
This will also finally allow Mac gamers to play Diablo IV without Crossover (which has poor performance) or Whisky and GPT (which often breaks and stays broken for weeks at a time [3]). GFN has much more powerful GPUs than even a M3 Max.
For Linux or Steam Deck gamers, D4 is already Proton Gold rated and Steam Deck verified [4], but GeForce Now should allow you to play it on much higher graphics, using less battery, and without using the fans.
[1] https://www.theverge.com/2023/10/13/23915780/ubisoft-activis...
[2] https://blogs.nvidia.com/blog/CES-2024-geforce-now-activisio...
[3] https://github.com/Whisky-App/Whisky/issues/682
[4] https://www.protondb.com/app/2344520
-
Apple's Push to Transform the Mac into a Gaming Paradise
Have you tried Apple Porting Toolkit? It’s able to get most of my Steam library working well (Cyberpunk and Halo for example). There is an app called Whisky that removes the hoops.
https://getwhisky.app/
- Whisky 2.2.1 (Wine wrapper for macOS)
-
Accidentally tried to update Battle.net and now nothing works
https://github.com/Whisky-App/Whisky/issues/682
-
[Tutorial] Running Windows Games using GPTK and Steam
Today you just go to https://getwhisky.app/ and grab the app.
-
I just got a shiny new Macbook Pro with the M3 Pro chip. Can I play high-spec PC games?
Whisky is amazing. It uses an older — free — version of CrossOver (proprietary and commercial software built on Wine). I'm able to play GTA V on very high graphics settings with amazingly fluid fps on my M1 Pro, with DXVK enabled in Whisky!
- Most hackintoshible laptop with a good GPU?
-
Mac Studio gaming performance
Whisky makes playing Windows games much more feasible with Apple's Game Porting Toolkit.
What are some alternatives?
MetalBuilder - Declarative dispatching of Metal shaders from SwiftUI views
HeroicGamesLauncher - A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
Anime4KMetal - Anime4K for Apple platforms based on Metal
WineskinServer - Wineskin
Throttler - One Line to throttle, debounce and delay: Say Goodbye to Reactive Programming such as RxSwift and Combine.
winetricks - Winetricks is an easy way to work around problems in Wine
Satin - A 3D Graphics Framework built on Apple's Metal
wine
ToyFlightSimulator - Toy Flight Simulator implemented with Swift and Metal
Harbor - A harbor for all your game *porting* activities (get it?)
box64 - Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
winesapOS - winesapOS - Game with Linux anywhere, no installation required!