4-stroke engine simulator for high school: the 3D cutaway engine and its pressure-volume diagram, synchronized stroke by stroke, with a switch between the Otto (gasoline) and Diesel cycles. Change the compression ratio, the displacement and the load, and find out what really drives the efficiency.