Doodle

Everything to play

From reel 194: “How does a four-stroke engine work?”

Four-stroke engine

One cylinder of a petrol engine: suck, squeeze, bang, blow. At 6,000 rpm it fires 50 times a second. Slow it down 100x to watch each stroke, and see why the cam turns at half crank speed.

Drag the throttle from 900 to 6,000 rpm · watch at real speed, 1/10 or 1/100 · tap the engine (or Step) to move one stroke · turn the sound on to hear each bang

Open full screen

Make your own

Ask Doodle once:

“Doodle, show me how a four-stroke engine works, one cylinder, and let me slow it down and rev it”

Doodle works out the bangs per second from the rpm in Python (rpm ÷ 60 ÷ 2) and draws the cylinder at each stroke.

Download for Windows

Windows 11, 64-bit

Doodle runs on Windows 11 PCs. Download anyway

A simplified single cylinder with no valve overlap; the sound is synthesised in your browser from the crank.