Open pamelafox opened 9 years ago
colorMode(HSB, 360); fill(-1, -1, -1);
gets: "Cannot read property '0' of undefined"
Maybe we can have PJS throw a nicer error than that or not have an error, depending on what the issue is with that code (haven't investigated yet).
We should probably have some sort of standard message for args that are out of bounds. This might require changes to processing.js.
colorMode(HSB, 360); fill(-1, -1, -1);
gets: "Cannot read property '0' of undefined"
Maybe we can have PJS throw a nicer error than that or not have an error, depending on what the issue is with that code (haven't investigated yet).