Contents

alexdremov/FoggyColors

Beautiful randomly generated colored shapes on the background with SwiftUI

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.

Package Metadata

Repository: alexdremov/FoggyColors

Homepage: https://alexdremov.ru

Stars: 29

Forks: 2

Open issues: 0

Default branch: main

Primary language: swift

License: MIT

Topics: design, swift, swiftui, swiftui-animations, swiftui-demo, swiftui-framework, ui, ui-design

README: README.md