This article is designed to help readers understand some typical wavefront detection techniques and gain a preliminary understanding of wavefront detection. In this tutorial, the wavefront definition used in wavefront technology is given and we divide wavefront detection technologies into qualitative and quantitative categories. In each category, we discuss some typical systems and provide simulation results. This tutorial comes with Matlab simulation codes that readers can use to simulate mentioned wavefront detection technologies on their computers. We hope that this tutorial provides readers with all the tools needed to understand and simulate the different wavefront technologies and modify them based on their needs and interest.