# Tentacles renders on polar to cartersian all out of whack

**URL:** <https://discourse.processing.org/t/tentacles-renders-on-polar-to-cartersian-all-out-of-whack/11957>\
**Category:** Coding Questions\
**Created:** [June 10, 2019, 5:51am UTC](https://discourse.processing.org/t/tentacles-renders-on-polar-to-cartersian-all-out-of-whack/11957 "2019-06-10T05:51:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arif](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@Arif](https://discourse.processing.org/u/Arif)\
**Post date:** [June 10, 2019, 5:51am UTC](https://discourse.processing.org/t/tentacles-renders-on-polar-to-cartersian-all-out-of-whack/11957/1 "2019-06-10T05:51:16Z")

</div>

Hey There,

I just recently found p5.js and have gone through a whole bunch of tutorial videos by Daniel Shiffman. I have managed to Frankenstein this together.

My goal is to have the tentacles hang on the vertices of the circular object since each of those points has an x,y. When I try use the RobotArm class to create a new object and hang it off the sides of the circle they just got all out of whack.

I attached a simple tentacle off the center just to show you what it looks like.  
[https://editor.p5js.org/arifqazi/full/XfOtA5aBE](https://editor.p5js.org/arifqazi/full/XfOtA5aBE)

Now when I add those same tentacles on the edges things just go crazy.  
[https://editor.p5js.org/arifqazi/full/Hb95T6Kxu](https://editor.p5js.org/arifqazi/full/Hb95T6Kxu)

I am fairly sure I can’t add the tentacles inside the push and pop in class Blobbytent \> show(). I am going to try a few other methods and work on this, hoping for some advice.

Thanks 🙏

---

<div class="post-metadata">

**Author:** ![Arif](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@Arif](https://discourse.processing.org/u/Arif)\
**Post date:** [June 10, 2019, 6:22am UTC](https://discourse.processing.org/t/tentacles-renders-on-polar-to-cartersian-all-out-of-whack/11957/2 "2019-06-10T06:22:26Z")

</div>

Tried something didn’t work.

I took the points on the Circle vertices that are getting placed by the polar to cartesian and stored it in an array then used those coordinates to place them again on the Circle shape. I was able to place it pretty well but now the Tentacles legs do not react to movement.

Here take a look  
[https://editor.p5js.org/arifqazi/full/3OSBPTwUT](https://editor.p5js.org/arifqazi/full/3OSBPTwUT)

I will keep trying.  
I am pretty sure push and pop is messing it up here. need to figure out another way to place those legs without translating.
