Gear driven cams