![example picture for bezier_vertices()](/images/reference/Py5Shape_bezier_vertices_0.png)

```python
import numpy as np
def setup():
py5.size(100, 100, py5.P2D)
random_bezier_vertices = 100 * np.random.rand(25, 6)
s = py5.create_shape()
with s.begin_shape():
s.vertex(py5.width / 2, py5.height / 2)
s.bezier_vertices(random_bezier_vertices)
py5.shape(s)
```