Currently, computer‐based training systems, such as virtual laboratories (VLs), are becoming more common not only in universities but also in secondary schools. For physics, VLs are of great importance, as they allow simulating processes that cannot be seen or reproduced. Technologies such as augmented reality (AR) and virtual reality (VR) help us to create such physical visualizations. This study presents a VL, which allows users to solve various physical practical tasks or problems with the help of three‐dimensional process visualizations performed in three different ways, namely desktop VR, AR, and VR using a Leap Motion controller. This study describes in detail the functionality and implementation of a VL. As an experiment, three schools were provided with the necessary equipment and software. Fifty pupils of the 9th grade used the developed VL for half of the academic year, after which they took part in a comprehensive survey. About 88% of them found the laboratory useful for studying physics. The children were satisfied with its functionality and usability. Interviews with teachers helped us to understand which of the three visualization methods is preferable for them and children in the present environment.