# Is there a better way to draw gradient colored ellipse?

**URL:** <https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220>\
**Category:** Coding Questions\
**Created:** [June 28, 2020, 3:23pm UTC](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220 "2020-06-28T15:23:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [June 29, 2020, 10:59am UTC](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220/3 "2020-06-29T10:59:08Z")

</div>

Hello,

> [@nh3](#):
>
> create a gradient colored sun for my project

Advanced topic…

This may be of interest:

> [@Adding an image to shape?](https://discourse.processing.org/t/adding-an-image-to-shape/21105):
>
> How do you add a background for a shape? ie instead of filling a circle with a colour, fill it with an image?

You can create an image with Processing, other tools or use an existing one (with permission if needed).

`:)`

---

_[View the full topic](https://discourse.processing.org/t/is-there-a-better-way-to-draw-gradient-colored-ellipse/22220)._
