# Converting straight lines segments into a bezier curve of same shape

**URL:** https://discourse.processing.org/t/converting-straight-lines-segments-into-a-bezier-curve-of-same-shape/35333
**Category:** Coding Questions
**Created:** [February 20, 2022, 9:20am UTC](https://discourse.processing.org/t/converting-straight-lines-segments-into-a-bezier-curve-of-same-shape/35333 "2022-02-20T09:20:43Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![micycle](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micycle/32/201_2.png) [@micycle](https://discourse.processing.org/u/micycle)
#### Post date: [June 16, 2022, 2:41pm UTC](https://discourse.processing.org/t/converting-straight-lines-segments-into-a-bezier-curve-of-same-shape/35333/8 "2022-06-16T14:41:39Z")

</div>

It sounds like you should simplify/de-densify the curve first, and then run it through spliner. [PGS](https://discourse.processing.org/t/processing-geometry-suite/29924) can perform these operations. You may also want to look at its _gaussian smoothing_ offering:

![](https://raw.githubusercontent.com/micycle1/PGS/master/resources/morphology/gaussianSmooth.gif)

---

_[View the full topic](https://discourse.processing.org/t/converting-straight-lines-segments-into-a-bezier-curve-of-same-shape/35333)._
