Home

Awesome

Smiley

Shadertoy to Metal

A Xcode 10 or later / Swift 5 project to replicate Shadertoy code in Metal based on Martijn Steinrucken's (The Art of Code) tutorials on YouTube. See links below.

To accompany this tutorial step by step type in Terminal:

git fetch --all --tags --prune

git checkout <i>tag</i>

Each tutorial has its own branch. Checkout the corresponding branch to follow each tutorial. For tutorial #1 do:

git checkout tutorial-1

To see the videos that inspired this project, please check Martijn's tutorials here using the original Shadertoy code:

Tutorial 1

https://www.youtube.com/watch?v=u5HAYVHsasc

Tutorial 2

https://www.youtube.com/watch?v=GgGBR4z8C9o

Tutorial 3

https://www.youtube.com/watch?v=bigjgiavOM0

Tutorial 4

https://www.youtube.com/watch?v=jKuXA0trQPE

Tutorial 5 - Make a smiley

https://www.youtube.com/watch?v=ZlNnrpM0TRg

Tutorial 6 - Animate a smiley

https://www.youtube.com/watch?v=vlD_KOrzGDc

The Shadertoy version can be seen here: https://www.shadertoy.com/view/lsXcWn