Created
April 26, 2016 13:34
-
-
Save dotimpact/eafca3860cf381f91244644b96a42bde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size(420, 240); | |
noStroke(); | |
rect(0, 0, 420, 200); | |
stroke(0); | |
//==== ここに図形を命令を描く | |
rect(50, 50, 100, 100); | |
//==== ここまでに図形命令を描く | |
// 解答に名前を入れてね | |
fill(0); | |
text("kotaroの解答", 5, 220); | |
PImage img = loadImage("question.png"); | |
image(img, 220, 0); | |
noFill(); | |
stroke(200); | |
rect(0, 0, 200, 200); | |
line(0, 100, 200, 100); | |
line(100, 0, 100, 200); | |
rect(220, 0, 200, 200); | |
line(220, 100, 420, 100); | |
line(320, 0, 320, 200); | |
//「スケッチ」メニューの「スケッチフォルダーを開く」でフォルダを開き、 | |
// 「answer.png」をslackに投稿する | |
save("answer.png"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment