For a scalable and controllable solution you can create a Curve Atlas asset and sample curves from it in the material.