# Please help asap for homework

**URL:** <https://discourse.processing.org/t/please-help-asap-for-homework/34035>\
**Category:** Coding Questions\
**Tags:** homework\
**Created:** [December 10, 2021, 3:25pm UTC](https://discourse.processing.org/t/please-help-asap-for-homework/34035 "2021-12-10T15:25:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![parichko](https://avatars.discourse-cdn.com/v4/letter/p/e56c9b/32.png) [@parichko](https://discourse.processing.org/u/parichko)\
**Post date:** [December 10, 2021, 3:25pm UTC](https://discourse.processing.org/t/please-help-asap-for-homework/34035/1 "2021-12-10T15:25:44Z")

</div>

I have a homework till today 12 i need to make a circle change shape when it hits the wall and a circle that bounces of walls

---

<div class="post-metadata">

**Author:** ![josephh](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/josephh/32/210_2.png) [@josephh](https://discourse.processing.org/u/josephh)\
**Post date:** [December 10, 2021, 10:18pm UTC](https://discourse.processing.org/t/please-help-asap-for-homework/34035/2 "2021-12-10T22:18:37Z")

</div>

Hi @parichko,

Please read the [guidelines](https://discourse.processing.org/faq#homework) for asking about homework 😉

Programming is first describing your needs then answering those problems with code so in your case try to ask yourself the following questions:

- How to make a circle shape?
- How to make that circle move?
- How to change the shape of a circle when an event is triggered?
- How do I detect the intersection of a circle an a wall?
- How do I modify the trajectory of the circle so that when it touches a wall it bounces?

Gradually solving those questions will lead you to the final program and this is the process of software engineering! 😋

---

<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:** [December 11, 2021, 2:26am UTC](https://discourse.processing.org/t/please-help-asap-for-homework/34035/3 "2021-12-11T02:26:44Z")

</div>

Hello,

There are resources here to get you started:

_[https://p5js.org/](https://p5js.org/)_

`:)`
