Skip to content

Commit c85d335

Browse files
authored
Update PEmbroider_svg_image.pde
In processing/processing4#1038, Processing modified the default display density, which changes how sketches allocate pixels and breaks many PEmbroider examples. The temporary fix is to use `pixelDensity(1)`.
1 parent 37f3449 commit c85d335

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/PEmbroider_svg_image/PEmbroider_svg_image.pde

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ PShape mySvgImage;
88

99
void setup() {
1010
size(1200, 450);
11+
pixelDensity(1); // required for Processing v.4.4.3+
1112
noLoop();
1213

1314
E = new PEmbroiderGraphics(this, width, height);

0 commit comments

Comments
 (0)