Last active
March 12, 2019 12:42
-
-
Save heestand-xyz/229f6439fe87e85b9cea9f8d9db630d9 to your computer and use it in GitHub Desktop.
Pixels - Circle Feed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let circlePix = CirclePIX(res: ._1024) | |
circlePix.radius = 1 / 3 | |
let noisePix = NoisePIX(res: ._1024) | |
noisePix.zPosition = .live / 10 | |
noisePix.octaves = 3 | |
noisePix.colored = true | |
let dispPix = circlePix._edge()._displace(with: noisePix, distance: 0.1) | |
let finalPix = dispPix._feedAdd() / 100 | |
finalPix.delegate = self | |
view.addSubview(finalPix.view) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment