I'm trying to figure out how to apply a grey color of 127 in the grid when i move the mouse (The function is supposed to be 'mouseMoved' but it doesn't work when I try it on another program). Please help? This is my code. Optional help: I also need to do something where when I key press 'r', it changes the colour to red. Same goes for blue and green.
I need to draw an empty graph using loops. How do I do that?
The requirements are
- The number of partition for each axis is 10
- X-axis level goes from 0 to 1000 divided into specified partitions
- Y-axis level goes from 0 to 200 divided into specified partitions
- There is a marking (separation lines needs to be red, 6 pixels in length) and label (value at each partition)
- The distance between the left wall and the intersection of x and y-axis should be equal to the distance between each partition on both axes, say partitionLength. Distance between the floor and the intersection of x and y axis should be partition length. Distance between right wall and the end point of x axis should be partitionLength. Distance between the top ceiling and the end point of y axis should be partitionLength.
Hi! I have a problem with my second tab...I have no idea what I am missing. I'm also trying to use loop and create a graph that displays the result of the collatz value. Please help! Any corrections are welcome. Thank you!