# Draw ellipse in plane

**URL:** <https://discourse.threejs.org/t/draw-ellipse-in-plane/28300>\
**Category:** Questions\
**Tags:** curve, geometry\
**Created:** [July 24, 2021, 8:13am UTC](https://discourse.threejs.org/t/draw-ellipse-in-plane/28300 "2021-07-24T08:13:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvina](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@dvina](https://discourse.threejs.org/u/dvina)\
**Post date:** [July 24, 2021, 8:13am UTC](https://discourse.threejs.org/t/draw-ellipse-in-plane/28300/1 "2021-07-24T08:13:48Z")

</div>

I try draw ellipse as described in the documentation:

```javascript
const curve = new THREE.EllipseCurve(
    0, 0, // ax, aY
    10, 10, // xRadius, yRadius
    0, 2 * Math.PI, // aStartAngle, aEndAngle
    false, // aClockwise
    0 // aRotation
);

```

but this draws the figure in a plane XY, how can I draw an ellipse in another plane, for example, XZ?

---

<div class="post-metadata">

**Author:** ![prisoner849](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/prisoner849/32/535_2.png) [@prisoner849](https://discourse.threejs.org/u/prisoner849)\
**Post date:** [July 24, 2021, 9:53am UTC](https://discourse.threejs.org/t/draw-ellipse-in-plane/28300/2 "2021-07-24T09:53:07Z")

</div>

Hi!  
Cast Y-coordinate to Z-coordinate in the way `z = -y`  
Example: [https://jsfiddle.net/prisoner849/g15ab49x/](https://jsfiddle.net/prisoner849/g15ab49x/)  
Picture:

 ![изображение](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/6/4/641707f1bad667c48510c839f14f03b103947d77.png)
