Interferometry is an important part of optics courses taught at the undergraduate level in universities throughout the world. It is used to explain to students the wave nature of light and is also used to measure parameters like length, refractive index, thickness of test samples and wavelength of light source, etc. The shape of interference fringes (linear, conic or circular) gives vital information about the interfering wavefronts and is used for firsthand visual inspection in optical shop testing and other applications of scientific and engineering importance. The present work describes a simple laboratory technique to generate fringes with different shapes in a single interferogram. This is achieved by using our diffraction-Lloyd mirror interferometer where two portions of the diffracted field are superimposed to generate the interference fringes. The technique is quite helpful in explaining the role of source orientation on the shape of interference fringes to students.