回答編集履歴
1
2.2.1で動くように修正
answer
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
background(255, 255, 255);
|
15
15
|
|
16
16
|
try {
|
17
|
-
fw = new FileWriter(sketchPath() + "/pos_t.txt", true);
|
17
|
+
fw = new FileWriter(sketchPath("") + "/pos_t.txt", true);
|
18
18
|
}
|
19
19
|
catch(Exception e) {
|
20
20
|
println(e);
|
@@ -23,7 +23,7 @@
|
|
23
23
|
frameRate(20);
|
24
24
|
|
25
25
|
PImage img = loadImage("kougishiryou.jpg");
|
26
|
-
|
26
|
+
size( (int)img.width, (int)img.height );
|
27
27
|
image(img, 0, 0);
|
28
28
|
strokeWeight(1);
|
29
29
|
}
|