Most appropriate sub-area of p5.js?
p5.js version
2.3.0.rc-6
Web browser and version
Brave 1.90.122
Operating system
Linux Mint 22.1
Steps to reproduce this
Snippet:
function setup() {
let v = createVector(1,2);
let w = createVector(1,2,3);
v.add(w);
print(v.toString());
}
The output is:
When working with two vectors of different sizes, the smaller dimension is used. In this operation, both vector will be treated as 2D vectors, and any additional values of the linger vector will be ignored.
vector[2, 4]
It doesn't include the number of the line that caused the issue (line 4 here), and there are two spelling errors: "both vector" should be "both vectors", and "the linger vector" should be "the longer vector"
Most appropriate sub-area of p5.js?
p5.js version
2.3.0.rc-6
Web browser and version
Brave 1.90.122
Operating system
Linux Mint 22.1
Steps to reproduce this
Snippet:
The output is:
It doesn't include the number of the line that caused the issue (line 4 here), and there are two spelling errors: "both vector" should be "both vectors", and "the linger vector" should be "the longer vector"