We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi!
I’m trying to draw a svg shape that changes size, but it seems like shapeMode(CENTER) doesen’t work anymore when I use the P3D renderer. I think I read something about this issue before, but I can’t find it anymore. Is there a solution to this?
PShape la;
float in; //comes from audio, increases size of object
la = loadShape(“test.svg"); la.disableStyle();
pushMatrix();
translate(width/2, height/2);
shapeMode(CENTER);
shape(la, 0, 0, 400(1+in), 400(1+in))
popMatrix();