start() executed twice - is this a bug?
in
Core Library Questions
•
2 years ago
Seeing some weirdness here depending on parameters given to size()...
Compare #1:
void setup() {
println("** START: " + millis());
size(200,200,P2D); // renderer parameter
}
void draw() {
}
typical output:
** START: 81
** START: 102
with #2:
void setup() {
println("** START: " + millis());
size(200,200); // no additional parameter
}
void draw() {
}
typical output:
** START: 92
I'm using 1.2.1 on OSX 10.5.8
-----
I just noticed I mis-read the title of this forum as "Core/Library Questions" -- is there a forum for Language/Core issues? This is my first time on the new forum, I was using the old one for years.
Compare #1:
void setup() {
println("** START: " + millis());
size(200,200,P2D); // renderer parameter
}
void draw() {
}
typical output:
** START: 81
** START: 102
with #2:
void setup() {
println("** START: " + millis());
size(200,200); // no additional parameter
}
void draw() {
}
typical output:
** START: 92
I'm using 1.2.1 on OSX 10.5.8
-----
I just noticed I mis-read the title of this forum as "Core/Library Questions" -- is there a forum for Language/Core issues? This is my first time on the new forum, I was using the old one for years.
1