# I really need a help (circle getting smaller)

**URL:** https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629
**Category:** Coding Questions
**Tags:** homework
**Created:** [March 18, 2021, 3:58am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629 "2021-03-18T03:58:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![imcute1002](https://avatars.discourse-cdn.com/v4/letter/i/ed655f/32.png) [@imcute1002](https://discourse.processing.org/u/imcute1002)
#### Post date: [March 18, 2021, 3:58am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629/1 "2021-03-18T03:58:36Z")

</div>

> please format code with \</\> button \* [homework policy](https://discourse.processing.org/faq/#homework) \* [asking questions](https://discourse.processing.org/t/2147)

I need to make a circle. that size keep samller and color keep change

---

<div class="post-metadata">

### Author: ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)
#### Post date: [March 18, 2021, 4:09am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629/2 "2021-03-18T04:09:20Z")

</div>

Okay. So what have you tried so far?

Do you have a `setup()` function?  
Are you calling `size()`?  
What’s in your `draw()` function?  
Have you colored the background with `background()`?  
Do you know how to draw an `ellipse()`?  
Or to set the `fill()`?  
Do you understand `map()`, `color`, or variables like `float`?

There’s a lot of basics to cover, and without seeing your code (or an attempt at your code), we really don’t even know where to start helping you. Maybe you can already draw circles that shrink, and just need help with color changing? Help us help you by showing us what you already understand.

And please format your code with the \</\> button!

---

<div class="post-metadata">

### Author: ![imcute1002](https://avatars.discourse-cdn.com/v4/letter/i/ed655f/32.png) [@imcute1002](https://discourse.processing.org/u/imcute1002)
#### Post date: [March 18, 2021, 5:07am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629/3 "2021-03-18T05:07:38Z")

</div>

size 400,400  
the code will be use with ellipse ()  
the circle will put in the middle

---

<div class="post-metadata">

### Author: ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)
#### Post date: [March 18, 2021, 9:02am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629/4 "2021-03-18T09:02:09Z")

</div>

Once again, please post your code.

All I can assume from what little you’ve said is that your code looks like this:

```auto
size 400, 400

ellipse ()

```

Clearly there is a lot missing.

Please post your code.

If you don’t have any code, just TRY to write some. Then post it.

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [March 18, 2021, 9:14am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629/5 "2021-03-18T09:14:43Z")

</div>

When you look here in the section “Hello Mouse” you will see a Sketch

- See [Processing Overview \ Processing.org](https://processing.org/tutorials/overview/) (scroll down to see it)

- That’s your starting point

Now you need an ellipse / circle with a variable for its diameter. Add something to the variable in draw() so that the ellipse grows: `a = a + 1;`

Warm regards,

Chrisir

---

<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: [March 18, 2021, 10:53am UTC](https://discourse.processing.org/t/i-really-need-a-help-circle-getting-smaller/28629/6 "2021-03-18T10:53:04Z")

</div>

Hello,

This is a simple exercise that is achievable for a beginner.

You will have to invest some time, energy and effort and you will soon reap the rewards.

Explore the resources available here and _start writing some code_:

- The Processing _website_ has _references_, _examples_, _tutorials_, _links to resources_, etc.  
[https://processing.org/](https://processing.org/)

- The Processing PDE (IDE) has lots to offer!  
An exploration of the menu bar will reveal what is available there;  
libraries, tools, local examples, and other goodies are in there.

- The Coding Train \< Experience the unbridled enthusiasm of Daniel Shiffman  
[https://shiffman.net/](https://shiffman.net/)  
[https://www.youtube.com/user/shiffman](https://www.youtube.com/user/shiffman)  
[https://thecodingtrain.com/](https://thecodingtrain.com/)

- Happy Coding  
[Processing Tutorials - Happy Coding](https://happycoding.io/tutorials/processing/)

- To list just a few…

`:)`
