Example code:
static final int WID=400;
static final int HEI=400;
void setup() {
size(WID,HEI);
}
let alone this:
static final int WID=400;
static final int FACTOR=2;
static final int HEI=400;
void setup() {
size(WID*FACTOR,HEI);
}
Expected: both should export just fine, since the provided values are constants.
Observed: it issues an error, which I have to remember because it only shows up once (i'll report that as a separate bug), which says more or less:
The size of the sketch cannot be determined from your code. You'll have to edit the html...