Skip to content

Beautiful randomly generated colored shapes on the background with SwiftUI

License

Notifications You must be signed in to change notification settings

mcolonj/FoggyColors

 
 

Repository files navigation

FoggyColors

Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Or execute pod try FoggyColors

import SwiftUI
import FoggyColors

struct ContentView: View {
    var body: some View {
            FoggyColorsView(
              blurRadius: 64,
              globalOpacity: 0.6,
              elementOpacity: 0.4,
              animated: true,
              numberShapes: 5
            )
            .ignoresSafeArea()
    }
}

Installation

CocoaPods

FoggyColors is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'FoggyColors'

Swift PM

Just add this repository to your project in Xcode

Author

alexdremov, dremov.me@gmail.com

License

FoggyColors is available under the MIT license. See the LICENSE file for more info.

About

Beautiful randomly generated colored shapes on the background with SwiftUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 85.5%
  • Ruby 14.5%