「processing」のタグがつけられたコード一覧
int w = 200, h = 300;//PImage flip = createImage(w, h, ARGB); //不要PGraphics g = createGraphics(w, h, JAVA2D);
int w = 200, h = 300;PImage flip = createImage(w, h, ARGB);PGraphics g = createGraphics(w, h, JAVA2D);
final int MAX_POINT = 180;final int RADIUS = 150;final int POINT_SIZE = 5;PVector[] point = new PVector[MAX_POINT];
final int MAX_POINT = 180;final int RADIUS = 150;final int POINT_SIZE = 5;PVector[] point = new PVector[MAX_POINT];
import krister.Ess.*;int doremi = 8;AudioChannel[] sound = new AudioChannel[doremi];SineWave[] sine = new SineWave[doremi];
class StageImage{//1枚の画像を分割して、それぞれのセルに割り当てたいのかな?int WIDTH = 10;//セルの横の枚数int HEIGHT = 10;//セルの縦の枚数int x;//画像の集合の左上x座標
void setup(){size(300, 300);}void draw(){
float x;void setup() {size(400, 330);background(255);
void setup() {try {println(File.createTempFile("tmp", "").getParent());println(System.getProperty("java.io.tmpdir"));File[] files =File.createTempFile("tmp", "").getParentFile().listFiles(new P5FileFilter());