Curious how a majority of semi-automatic rifles go about their business? These animations will give you a solid idea about how a gas-operated rifle cycles.
For some, how a gas-operated rifle cycles can be a mystery. But no matter if it's direct impingement or piston driven, the principal is the same. Basically, some of the expanding gas from a fired round is diverted from the barrel and used to thrust the bolt assembly rearward, ejecting the spent cartridge and stripping a fresh round off the magazine into the chamber on the return.
Whether that energy goes straight to the bolt assembly or is transmitted to it via a piston all depends on what sort of system you happen to be running.
The below animations, while a bit basic, and missing a few parts of the operation, give a pretty solid idea of how direct impingement, short-stroke and long-stroke gas-operations go about their business.
Direct Impingement
The dominant operating system of AR-style rifles.
Short-Stroke Piston
The operating system found on the M1 Carbine and SCAR 17, also popular option on AR-style rifles.
Long-Stroke Piston
Best known as the operating system of two of the 20th Century's most venerated battle rifles – the M1 Garand and AK-47.