# Trouble configuring bezier start and end points for uniform arc

**URL:** <https://discourse.processing.org/t/trouble-configuring-bezier-start-and-end-points-for-uniform-arc/29643>\
**Category:** Coding Questions\
**Created:** [April 25, 2021, 11:22pm UTC](https://discourse.processing.org/t/trouble-configuring-bezier-start-and-end-points-for-uniform-arc/29643 "2021-04-25T23:22:07Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [April 27, 2021, 12:50am UTC](https://discourse.processing.org/t/trouble-configuring-bezier-start-and-end-points-for-uniform-arc/29643/8 "2021-04-27T00:50:25Z")

</div>

@psemme

And another way which overlays shapes with different strokeWidth():

> [@Achieving a noodle shape](https://discourse.processing.org/t/achieving-a-noodle-shape/28922/6):
>
> Hello, I created a simple shape with curveVertex() and overlaid them to show an outline. A line is a shape. slight_smile My first version for testing: 
> 
> > **Code**
> >
> > // Worm // v1.0.0 // GLV 2021-03-28 float amp; void setup() { size(640, 360); } void draw() { amp = map(mouseX, 0, width, 3\*height/4, height/4); background(255); strokeWeight(20); noFill(); stroke(0); myShape(); strokeWeight(15); stroke(255); myShape(); } void myShape() { beginShape(); curveVertex(width/8, h…

I used:  
strokeCap(PROJECT); // This seemed to provide square ends

This easy to do with arc() as well:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/a/a7e2a3ea186a81ae3c923ac96dab639674f687dc.png)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/trouble-configuring-bezier-start-and-end-points-for-uniform-arc/29643)._
