Hi there I am trying to import a vector using the load shape command, it’s a Dennis the menace top and it keeps loading in as black. I haven’t done any fills just a standard loadshape.
What could I do to fix this ?
Hi there I am trying to import a vector using the load shape command, it’s a Dennis the menace top and it keeps loading in as black. I haven’t done any fills just a standard loadshape.
What could I do to fix this ?
It would help if we could see the code you are using and also the file you are using (or at least, a file with the same problem).
Perhaps you could try entering something like this (where myShape is replaced with the name you’ve assigned it)
Just insert the code before you actually display the shape in your draw function but make sure it has been declared in setup:
myShape.setFill(color(255));
This should help solve your problem, but if it does not here are some links to the Processing reference which should help!