# New to class and need a project

**URL:** <https://discourse.processing.org/t/new-to-class-and-need-a-project/34972>\
**Category:** Beginners\
**Tags:** homework\
**Created:** [February 4, 2022, 9:33am UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972 "2022-02-04T09:33:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SharkJulen](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@SharkJulen](https://discourse.processing.org/u/SharkJulen)\
**Post date:** [February 4, 2022, 9:33am UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972/1 "2022-02-04T09:33:32Z")

</div>

Hello, I have come to a new institute because I have changed and I chose ICT.  
They ask me for processing but I have no idea and the work counts for 30% of the grade. Help  
☹  
This I have to do:  
Draw on a light gray background of 600x400 and your name in black in the center of the upper part.  
An orange circle, size 30 pixels (red plus green), the value of red twice that of green.  
And a blue rectangle (150,235) imitating a basketball player.  
We must make the circle and rectangle move with the mouse, only at the X position, 150 pixels apart.  
Make the ball bounce, go down and go up from position 295 to 380.

Then there is another part that is this:

2.Create a program in PROCESSING transforming part 1:

Replace rectangle with player

Replace the background with a similar image that occupies the entire window.

Write a 0 at the top left Size 20 pixels and every time we click with the mouse on the basket we must increase the number by 2.

Draw 60 vertical lines at the bottom of the screen, from position Y= 440 to the end, use a method that repeats the process.

Please help !!!

---

<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:** [February 4, 2022, 9:43am UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972/2 "2022-02-04T09:43:21Z")

</div>

Please read this [Getting Started / Processing.org](https://processing.org/tutorials/gettingstarted)

Unfortunately it’s policy not to do homework in this forum

Show your attempt and we can help

here is a starting point:

```auto
void setup() {
  size(480, 120);
}

void draw() {
  if (mousePressed) {
    fill(0);
  } else {
    fill(255);
  }
  ellipse(mouseX, mouseY, 80, 80);
}

```

---

<div class="post-metadata">

**Author:** ![PhoenixStormJr](https://avatars.discourse-cdn.com/v4/letter/p/43a26b/32.png) [@PhoenixStormJr](https://discourse.processing.org/u/PhoenixStormJr)\
**Post date:** [February 5, 2022, 4:51am UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972/3 "2022-02-05T04:51:43Z")

</div>

We can’t do your homework BUT this place may help!!!

> **[Reference](https://processing.org/reference/)**
>
> Find further documentation of the Processing language

Try typing stuff like background, shapes, fill, mouse and use the examples to help!

It also seems like a while loop may help!

---

<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:** [February 5, 2022, 2:02pm UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972/4 "2022-02-05T14:02:22Z")

</div>

Hello @SharkJulen,

All the resources you need to get started are here:

- [Welcome to Processing!](https://processing.org/)

This is a list of the Processing Forum guidelines:

- [Processing FAQ - Frequently asked questions](https://discourse.processing.org/faq)
- [Guidelines - Asking Questions](https://discourse.processing.org/t/guidelines-asking-questions/2147/4)
- [Guidelines - Answering Questions](https://discourse.processing.org/t/guidelines-answering-questions/2145/1)
- [p5.js Community Statement](https://p5js.org/community/)

If you are going into [ICT](https://en.wikipedia.org/wiki/Information_and_communications_technology) research and learning something new will be a ongoing part of your career. Learn to learn now and you will succeed in the future.

The tasks you are asked to do are all achievable with some effort on your part. Work through them one at a time…

Enjoy the journey!

`:)`

---

<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:** [February 5, 2022, 2:18pm UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972/5 "2022-02-05T14:18:49Z")

</div>

> [@Chrisir](#):
>
> Unfortunately it’s policy not to do homework in this forum

It is _fortunate_ that this forum has a Homework Policy in its guidelines:  
[https://discourse.processing.org/faq#homework](https://discourse.processing.org/faq#homework)

It protects the integrity of the Processing Forum and those seeking help and guidance with their homework.

`:)`

---

<div class="post-metadata">

**Author:** ![Flolo](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/flolo/32/13874_2.png) [@Flolo](https://discourse.processing.org/u/Flolo)\
**Post date:** [February 5, 2022, 2:47pm UTC](https://discourse.processing.org/t/new-to-class-and-need-a-project/34972/6 "2022-02-05T14:47:56Z")

</div>

Hey @SharkJulen

Look at these links they might help you:  
[text()](https://processing.org/reference/text_.html)  
[textAlign()](https://processing.org/reference/textAlign_.html)  
[circle()](https://processing.org/reference/circle_.html)  
[fill()](https://processing.org/reference/fill_.html)  
[rect()](https://processing.org/reference/rect_.html)  
[mousePressed()](https://processing.org/reference/mousePressed_.html)  
[for](https://processing.org/reference/for.html)  
[PImage](https://processing.org/reference/PImage.html)  
[mouseX](https://processing.org/reference/mouseX.html)

[![](https://img.youtube.com/vi/YIKRXl3wH8Y/hqdefault.jpg "5.5: The Bouncing Ball - Processing Tutorial") ](https://www.youtube.com/watch?v=YIKRXl3wH8Y)
