{"repo":"krispuckett/SwiftUIShaders","free":true,"listed":false,"github":"https://github.com/krispuckett/SwiftUIShaders","clone":"git clone https://github.com/krispuckett/SwiftUIShaders.git","description":"41 hand-curated drop-in SwiftUI Metal shader effects — holographic foil, kaleidoscope, magnetic fields, glitch, neon edges and more. Typed View modifiers, agent-friendly docs.","language":"Metal","stars":289,"topics":["ios","metal","metal-shaders","shaders","swift","swift-package","swiftui"],"license":"MIT","category":"mobile-apps","readme_excerpt":"SwiftUIShaders 41 SwiftUI Metal shaders. Holographic foil, kaleidoscope mandalas, magnetic fields, glitch, neon edges, and a pile more. Each one is a [[ stitchable ]] Metal function with a typed SwiftUI View modifier wrapped around it, so dropping one onto a view is a single line. These started as a hidden shader lab inside Epilogue, my reading app. I built way more than I ever shipped, so I pulled the good ones out to share. Every shader here got rendered on a real book cover and kept only if it actually looked good. The duds, the washed-out ones, and the ones that only work on a blank gradient got cut. What's left is the set I'd reach for myself. Drop them into your own project and mess around. They're also built to hand straight to a coding agent like Claude Code or Codex. If one sparks an idea, point your agent at AGENTS.md and let it riff. Want to dial them in by eye? Hand the repo to your agent and ask it to build a slider-based tuning tool. Everything it needs is in Docs/parameters.json , and the recipe is in AGENTS.md. Tune against your own content, copy the line it spits out, paste it into your code. The bcs prefix is just the shader namespace. Nothing here is wired to Epilogue's actual app code. Requirements - iOS 17+ / macOS 14+ / tvOS 17+ / visionOS 1+ - Xcode 15+ (the Metal toolchain compiles the shaders into the package's default.metallib ) One gotcha: build with Xcode or xcodebuild , not bare swift build . SwiftPM's command-line driver on macOS doesn't run the ","default_branch":null,"files":null,"tree":[],"storefront":"/r/krispuckett","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/krispuckett/SwiftUIShaders/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}