# Trying Curve on a Sphere. Can't seem to get the rise and fall of the curve right

**URL:** <https://discourse.processing.org/t/trying-curve-on-a-sphere-cant-seem-to-get-the-rise-and-fall-of-the-curve-right/19355>\
**Category:** Coding Questions\
**Created:** [April 3, 2020, 1:05am UTC](https://discourse.processing.org/t/trying-curve-on-a-sphere-cant-seem-to-get-the-rise-and-fall-of-the-curve-right/19355 "2020-04-03T01:05:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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 3, 2020, 5:07pm UTC](https://discourse.processing.org/t/trying-curve-on-a-sphere-cant-seem-to-get-the-rise-and-fall-of-the-curve-right/19355/4 "2020-04-03T17:07:26Z")

</div>

I created arcs as part of a project I did a few years back.

I drew them using vectors; you will get a sense of it seeing the different lines in the first image.  
The green one was the first one and I had to improve on that!

I stepped through these in the demo I did to show I how built them:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/da7306f36bb715258d786f775ce1d0c16338f42b.png)

The end result was quite nice:

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/e0cce1a7c101427fd11910a7a2c0f85a9ae5dc12.png)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/trying-curve-on-a-sphere-cant-seem-to-get-the-rise-and-fall-of-the-curve-right/19355)._
