You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the problem, it's because the examples in the tutorial skip the canvas size call and the whole setup()/draw() definition. It tells you about this in part 4 of the tutorial.
This is the intended behavior, mostly for historical reasons—Processing's default behavior goes back to its origins in the Design By Numbers (DBN) project, which used a 100 by 100 pixels default canvas. That made sense at the time, but it's admittedly not ideal on modern displays.
We're considering updating the default size in a future release to be more practical out of the box.
Out of curiosity, which tutorial were you following? It would help us understand where the confusion came from and whether we can improve the documentation.
I was just following the tutorial at https://hello.processing.org, but it took me a while to realise that the IDE on those web pages is actually interactive. I thought I was watching a video and that I needed to have the client open on my desktop to try the examples!!
Most appropriate sub-area of Processing 4?
Core/Environment/Rendering
Processing version
4.4.1
Operating system
Ubuntu 24.04
Steps to reproduce this
snippet
background(216,225,149);
stroke(255,0,0);
fill(0,0,255);
rect(250,200,100,75);
Additional context
Would you like to work on the issue?
No, I can't help, I am new to this program and don't know Java and the JDK
The text was updated successfully, but these errors were encountered: