Why I can't load an SVG image?
in
Programming Questions
•
3 months ago
I'm a begginer with Processing. I write this code:
PShape bot;
void setup() {
size(640, 360);
bot = loadShape("imagebot.svg");
}
void draw() {
background(102);
shape(bot, 110, 90, 100, 100);
shape(bot, 280, 40);
}
But that's no works...NullPointerException. What's happened?? I need help, thank's a lot!
PShape bot;
void setup() {
size(640, 360);
bot = loadShape("imagebot.svg");
}
void draw() {
background(102);
shape(bot, 110, 90, 100, 100);
shape(bot, 280, 40);
}
But that's no works...NullPointerException. What's happened?? I need help, thank's a lot!
1