View Single Post
Old 12-14-2007, 03:01 PM   #12 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,239
Thanks: 3
Salathe is on a distinguished road
Default



Fig. 1: Funky little reflections, careful you don't slip on the wet surface!
I was curious to see whether it was possible to approximate Wildhoney's photoshopped version of the wet floor using GD and I'm always up for a challenge. After playing around with a few different techniques I came up with something and the result can be seen above (Fig. 1, using some of Dale's images, thanks!) -- do you think that would qualify as a 'wet floor' effect?

Essentially, I just place a 'wave' to the reflection and add a little blur. The code itself is still very raw (read: a procedural mess!!!) but that can be refactored easily enough. I just want to say, it wasn't easy getting my head around the problem (though insomnia can lead to some creative solutions)!
__________________
salathe@php.net
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Rendair (12-14-2007)