3D cube rotate effect

anyone have any idea how to achieve an effect like this?