Skip to content

Instantly share code, notes, and snippets.

@heestand-xyz
Created September 27, 2019 13:26
Show Gist options
  • Save heestand-xyz/52d4848baf31234cc9ef2f42f40b5a8a to your computer and use it in GitHub Desktop.
Save heestand-xyz/52d4848baf31234cc9ef2f42f40b5a8a to your computer and use it in GitHub Desktop.
PixelKit - Liquid
PixelKit.main.bits = ._16
let ply = PolygonPIX()
ply.radius = 0.125
let feed = ply._feed(0.99) { feed in
feed._noiseDisplace(distance: 0.01, zPosition: .live / 10, octaves: 10)
}
return feed._edge(100)._quantize(0.1)._edge(10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment