metasidd / Orb

A mesmerizing orb, fully designed in SwiftUI.
https://siddhant.ca
MIT License
193 stars 10 forks source link

Added support for macOS because it does not compile #7

Closed psalzAppDev closed 1 week ago

psalzAppDev commented 1 week ago

Replaced UIColor with NSColor if compiling for macOS, and implemented a macOS-only method to create particle texture.

Please checkout the preview when compiling for macOS, it works just fine now.

psalzAppDev commented 1 week ago

Ok, #6 already was faster than me and also found a way more elegant way to draw the particle textures on macOS. Withdrawing my PR ;-)