![example picture for curve_vertices()](/images/reference/Sketch_curve_vertices_0.png)

```python
import numpy as np
def setup():
random_curve_vertices = 100 * np.random.rand(25, 2)
with py5.begin_shape():
py5.vertex(py5.width / 2, py5.height / 2)
py5.curve_vertices(random_curve_vertices)
```