in desperate need, will depend whether i fail or pass the course!!!
Due date is very near!
No use of Arrays.
lol. do your homework.
good luck. remember you can’t spell school without cool
Looks like a cool assignment! You could probably write it in a couple of hours. I imagine since this document is 7 pages long, that there are multiple parts, and directions on how each part should work. Looks like you’ll need a few loops to draw things, and some code that manipulates strings.
What have you got so far?
It’s forum policy not to do homework for others
The idea is that you develop a program however small
with your own approach.
Then when you are stuck ask a specific question
I’ve done something, but i am lost, i really need help
Can you Post your entire code here and we get you started…?
So in your draw() you need the text("…", ….,….); line
Now the buttons
For example before setup () make an array (see reference) of PVector:
PVector[] listButtons = new PVector
[8];
each slot of the array represents the upper left corner of the button
Another array holds the text:
String [] listTexts = new String [8];
(When you know OOP convert to a class Button)
in draw()
int i=0;
for (PVector pv : listButtons) {
rectangle(pv.x,pv.y,
300, 44);
text(listTexts[i], pv.x+3, pv.y+22);
i++;
}//for
Similarly in mousePressed loop over listButtons and check with if if the mouse is inside the button
Set a marker accordingly (e.g. greenColor = true or textSizeMy = 44)
When using text() for your main sentence as I mentioned before just set the text properties using these markers before text()
eg textSize(textSizeMy);
Repeat the pattern for all markers/ text properties you need
Sure, should i just paste everything here?
Your due date was “very near” a week ago. Are you still working on this?
You can post your entire code here, yes. Be sure to use the code formatting button on it, which looks like this: </>
Hello @processingboy1,
Please read:
- Processing FAQ - Frequently asked questions
- Homework Policy
- Guidelines - Asking Questions
- Guidelines - Answering Questions
- p5.js Community Statement
Please do not share your assignment.
I am confident that is not permitted by you academic institution.
This is directly from the “Homework Policy”:
- Students are responsible for following the policies of their school, class, and instructor. Post as if your instructor is reading.
Please do not share your entire code.
This is directly from the “Asking Questions” guidelines:
- Isolate your problem and work in small steps . Share only the code directly related to your problem if it is part of a bigger project, and if something isn’t working, try the smallest code that could do the thing you want.
It is my understanding that for this course you are asked to code your assignments independently and that it is designed to allow you to demonstrate your understanding.
It is in your best interest to complete your homework with integrity.
Keep in mind that everything in this topic is publicly available.
There are resources here:
With a some hard work and effort on your part you should be able to learn some programming and complete this assignment.
This spirit of this community is to help but not to do your homework assignments.
Please read the guidelines provided and be mindful of what you are sharing and posting.
:)