An out-of-plane angular detection scheme with random phase encoding is proposed. A ground glass is attached on a rod, which is rotated around a center point, so that the rotation of the rod induces the displacement of the ground glass in a circular path.