I am working on a mechanism which controls the release of energy while remaining energy efficient. An image of the concept is shown below. (The image is meant simply to get an idea of how it would work- it is by no means perfect). A source of energy (from a spring being released, for example) applies a torque on the yellow crankshaft. This drives the green rack up and down via the red connecting rod. This in turn drives the brown gear. The brown gear rotates the blue gear increasing its velocity, and this blue gear is connected to the purple flywheel. This flywheel is forced to oscillate rapidly. However, due to the momentum of the flywheel, it forces the mechanism to operate at a slower speed. This slows the rate at which the energy is released. To smooth out how energy is released, a freewheel can be connected to the yellow crankshaft. Another flywheel would be connected to the freewheel. This flywheel should have a smooth motion. I would appreciate any thoughts on whether or not a mechanism such as this would work.