Open tmjoen opened 6 days ago
Can you send me a snippet of your code that triggers the error?
Also Color is from the q5-color module which is included in the default q5.js bundle.
Thanks for taking a look, I really appreciate it!
The error appears when I load an image and try to manipulate it.
let img = loadImage('/images/and03-01.png')
// then later in draw()
function draw() {
// ...
let c = img.get(x * tileSizeX, y * tileSizeY) // this triggers the $.Color error
}
@tmjoen ah yup this is a bug. I will try to fix it soon.
Sorry for the noob question, but I can't seem to find any info on this.
I'm getting
This is in this code
I can't find any $.Color defined — is this from an external lib?