https://github.com/maximbilan/metal-experiments
Small, self-contained visual experiments for iOS — Metal shaders, SwiftUI effects, one effect per folder ⚡️
https://github.com/maximbilan/metal-experiments
creative-coding graphics ios metal shaders swift swiftui visual-effects
Last synced: 8 days ago
JSON representation
Small, self-contained visual experiments for iOS — Metal shaders, SwiftUI effects, one effect per folder ⚡️
- Host: GitHub
- URL: https://github.com/maximbilan/metal-experiments
- Owner: maximbilan
- Created: 2026-07-05T10:13:33.000Z (9 days ago)
- Default Branch: main
- Last Pushed: 2026-07-05T16:39:44.000Z (8 days ago)
- Last Synced: 2026-07-05T18:08:05.440Z (8 days ago)
- Topics: creative-coding, graphics, ios, metal, shaders, swift, swiftui, visual-effects
- Language: Metal
- Size: 30.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# metal-experiments ⚡️
Small, self-contained visual experiments for iOS. Every effect lives in its own folder:
```
/
├── README.md # what it is + how to drop it into your app
├── screenshot.jpg # preview
├── demo.mp4 # short capture
├── project.yml # xcodegen spec for the standalone demo app
└── Sources/ # the effect code
```
## Effects
| Preview | Effect | Description |
|---|---|---|
|
| [**Singularity**](singularity/) | A procedural black-hole nebula: gravitational swirl + domain-warped fbm noise + event-horizon rim. Drag to bend spacetime. One `colorEffect` shader, iOS 17+. |
|
| [**Water**](water/) | A sunlit pool: waves refract the tile floor, caustics dance on top, raindrops ring the surface, and touching it sends out ripples. One `colorEffect` shader, iOS 17+. |
|
| [**Martian Sand**](martian-sand/) | A Martian dune field: raking sun on wind-rippled sand, gusty dust streaming over the dunes, and a dust devil that swirls the sand where you touch. One `colorEffect` shader, iOS 17+. |
## Running a demo
Each folder is a standalone iOS app:
```sh
brew install xcodegen
cd
xcodegen generate
open *.xcodeproj # pick a simulator, hit Run
```