Piston and Flywheel (100% Pen)

by ivan321
  scripts
  sprites
See inside
Instructions

Press the space bar to fire the cylinder!
The impulse is strongest when the piston is fully extended (top dead center). This is why timing adjustments are important in internal combustion engines.

Use the left and right arrows or the slider to adjust the speed.
Use the up and down arrows or the slider to adjust the size.
Use the slider to adjust the x position.

Notes and Credits

This is just something I was curious about!
The math for locating the end of the piston rod is explained here:
https://en.wikipedia.org/wiki/Piston_motion_equations

Shared: 13 Apr 2017 Modified: 14 Apr 2017
Favorite this project 40
Love this project 60
Total views 407
View the remix tree  1
  
More projects by ivan321