![example picture for quadratic_vertex()](/images/reference/Sketch_quadratic_vertex_0.png)

```python
def setup():
py5.no_fill()
py5.stroke_weight(4)
py5.begin_shape()
py5.vertex(20, 20)
py5.quadratic_vertex(80, 20, 50, 50)
py5.end_shape()
```

![example picture for quadratic_vertex()](/images/reference/Sketch_quadratic_vertex_1.png)

```python
def setup():
py5.no_fill()
py5.stroke_weight(4)
py5.begin_shape()
py5.vertex(20, 20)
py5.quadratic_vertex(80, 20, 50, 50)
py5.quadratic_vertex(20, 80, 80, 80)
py5.vertex(80, 60)
py5.end_shape()
```