About three days ago, we started seeing a new gimmick on Facebook, images that appear to “move in 3D” when you scroll through them or move your mouse cursor over them. This is a parallax effect and it can be accomplished by providing Facebook with a depth map (e.g. “arches_depth.png”) along with the original image (“arches.png”). The two need to have the same resolution and the depth map needs to be generated in a way that close objects are white and far away objects are black.
FIND THIS INTERESTING? SHARE IT WITH YOUR FRIENDS!