Click on the images above to go to the demo.
After publishing some earlier posts like this I received an e-mail of how to create this kind of pattern.
After taking some time to consider the geometry and making a couple of attempts,
I came up with the code I’m now publishing.
View the sources here. Download sources.Pixel Bender -source code. Pixel Bender -filter.