# Line coming out of semi circle

**URL:** <https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225>\
**Category:** Beginners\
**Created:** [October 12, 2022, 9:20am UTC](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225 "2022-10-12T09:20:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaotic.rabbit](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chaotic.rabbit/32/14034_2.png) [@chaotic.rabbit](https://discourse.processing.org/u/chaotic.rabbit)\
**Post date:** [October 12, 2022, 9:20am UTC](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225/1 "2022-10-12T09:20:23Z")

</div>

Hi, i would like to have lines coming out the curved part of a semicircle. I already know the x positions that I want but I need to adjust the y of the lines according to the semicircle’s curve. How can I do this please?

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [October 12, 2022, 10:03am UTC](https://discourse.processing.org/t/line-coming-out-of-semi-circle/39225/2 "2022-10-12T10:03:41Z")

</div>

Hi @chaotic.rabbit,

Are you talking about [tangents](https://en.wikipedia.org/wiki/Tangent)?

Like [`bezierTangent()`](https://processing.org/reference/bezierTangent_.html)

![](https://processing.org/static/3fc0e633a4fdd162475afaf4fb05b7c4/c1587/bezierTangent_0.webp)
