# Help making a diagonal ellipse

**URL:** <https://discourse.processing.org/t/help-making-a-diagonal-ellipse/8827>\
**Category:** Coding Questions\
**Created:** [March 1, 2019, 2:39am UTC](https://discourse.processing.org/t/help-making-a-diagonal-ellipse/8827 "2019-03-01T02:39:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Velouria](https://avatars.discourse-cdn.com/v4/letter/v/ac91a4/32.png) [@Velouria](https://discourse.processing.org/u/Velouria)\
**Post date:** [March 1, 2019, 2:39am UTC](https://discourse.processing.org/t/help-making-a-diagonal-ellipse/8827/1 "2019-03-01T02:39:17Z")

</div>

Hi everyone!

So i´ve been trying to make an ellipse that crosses the screen diagonally but even with the different types of ellipseMode i can only do them cross the screen either horizontally or vertically. Any suggestions?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [March 1, 2019, 4:53am UTC](https://discourse.processing.org/t/help-making-a-diagonal-ellipse/8827/2 "2019-03-01T04:53:36Z")

</div>

turn the screen 45deg ( not the monitor ! )

> **[translate() / Reference](https://processing.org/reference/translate_.html)**
>
> Specifies an amount to displace objects within the display window. The x parameter specifies left/right translation, the y parameter specifies up/down translation, and the z param…

> **[rotate() / Reference](https://processing.org/reference/rotate_.html)**
>
> Rotates a shape the amount specified by the angle parameter. Angles should be specified in radians (values from 0 to TWO\_PI) or converted to radians with the radians() function.

> **[ellipse() / Reference](https://processing.org/reference/ellipse_.html)**
>
> Draws an ellipse (oval) to the screen. An ellipse with equal width and height is a circle. By default, the first two parameters set the location, and the third and fourth parameters set the shape's wi…

[ellipseMode() / Reference / Processing.org](https://processing.org/reference/ellipseMode_.html) not need:

> The default mode is **ellipseMode(CENTER)**
