A fringe projection technique to trace the shape of a fast-moving object is proposed. A binary-encoded fringe pattern is illuminated by a strobe lamp and then projected onto the moving object at a sequence of time. Phases of the projected fringes obtained from the sequent measurements are extracted by the Fourier transform method. Unwrapping is then performed with reference to the binary-encoded fringe pattern. Even though the inspected object is colorful, fringe orders can be identified. A stream of profiles is therefore retrieved from the sequent unwrapped phases. This makes it possible to analyze physical properties of the dynamic objects. Advantages of the binary-encoded fringe pattern for phase unwrapping also include (1) reliable performance for colorful objects, spatially isolated objects, and surfaces with large depth discontinuities; (2) unwrapped errors only confined in a local area; and (3) low computation cost.