a strange contraption sat in the center of the ravine 's floor , a tangled mess of gears and moving parts , as if an enormous clock had gotten violently sick and vomited all of its insides before turning inside out .