renamed spiral generator so it makes more sense