Gas can be thought to be a collection of enormous number of particles. There are particles moving inside the piston.
There are three parameter gauge which is located on the right side, pressure (P), volume (V), and temperature (T).
You can manipulate the temperature (velocity of the particles) by scrolling the mouse.
You can manipulate the volume by dragging on the piston. These parameters are not stable so that operation should be very slow.