Allows user to set how many points (and thus triangles) are generated.