Experiment: spiral map
A year ago I started to get into glsl. A good way to learn this is by looking at other peoples code and Shadertoy is an excellent resource for that. My Shadertoy account consists mostly of unpublished stuff I tried trying to learn WebGL. The first WebGL experiment I published here was this blob thing but it was not the first thing I made of course.
What I started with was plain flat displacement mapping; just moving pixels around.
So I thought it would be nice to port some of those Shadertoy things over to here.
This is one of those first doodles: a spiral displacement map.
Dragging it controls the amount of spiraling and also shows you the displacement map used.