$ mkdir -p /tmp/Processing/sketch_sample
$ vi /tmp/Processing/sketch_sample/sketch_sample.pde
$ processing-java --sketch=/tmp/Processing/sketch_sample --run
-
-
Save hyuki/dfc9cd8f639593c3f58c061e499599ae to your computer and use it in GitHub Desktop.
Processingをコマンドラインから動かす
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(200, 100); | |
noStroke(); | |
colorMode(HSB, 100, 100, 100); | |
background(90, 50, 50); | |
save("/tmp/sample.png"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sketch_sample/sketch_sample.pde
のあたりの名前の一致は重要だし、sample
の部分に-
などが入っていてはだめ。数字列はOK