We are about to switch to a new forum software. Until then we have removed the registration on this forum.
hi, I am a beginner in processing, I installed processing3, In the sketch blank screen I typed rect(250,200,150,100); and then clicked the run arrow, it opened up the canvas of size 2inch by 2inch but I can't see the rectangle. is it something I am missing? it was the same case when I type ellipse(250,200,150,100); if this is due to the default canvas size then can I set the canvas size I my case to see the rectangle and the ellipse as in the Hello tutorial. Thanks Somou
Answers
can you please tell me how to set the canvas size to the proper size to see my rectangle and ellipse as mentioned above.
https://Processing.org/reference/size_.html
https://Processing.org/tutorials/
@somou -- re:
You are correct. The default size is 100x100 -- your examples are off the screen.
Try:
Then use
size()
to set a larger size, as in @GoToLoop's link.Let first line be
size(800,800);
Use the tutorials section