An open API service indexing awesome lists of open source software.

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 ⚡️

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
```