Skip to content

Commit a741237

Browse files
committed
update to newer api
1 parent 52759bc commit a741237

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

java/libraries/svg/src/WriteSVG.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55

66
public class WriteSVG extends PApplet {
77

8-
public String sketchRenderer() {
9-
return "processing.svg.PGraphicsSVG";
10-
}
8+
// public String sketchRenderer() {
9+
// return "processing.svg.PGraphicsSVG";
10+
// }
1111

1212

13-
public String sketchOutputPath() {
14-
return "/Users/fry/Desktop/frame-####.svg";
15-
}
13+
// public String sketchOutputPath() {
14+
// return "/Users/fry/Desktop/frame-####.svg";
15+
// }
1616

1717

18-
public void setup() {
19-
size(600, 400, "processing.svg.PGraphicsSVG", "/Users/fry/Desktop/frame-####.svg");
18+
public void settings() {
19+
size(600, 400, SVG, desktopPath("frame-####.svg"));
2020
// frameRate(1);
2121
}
2222

0 commit comments

Comments
 (0)