I did it pretty much the same way in the ones you linked to using the GIMP, rather than photoshop.
Just created a white layer, then a background copy, so the order is background, white layer, background copy. Selected the background copy, select the entire layer, chose select -> shrink ->...