ukeneraiの日記: 「水玉コラ作成マシーン」がProcessing 3.0対応ではないようなので
日記 by
ukenerai
少しいじってみました。そしたら別の問題が出たので
それにも対応しました。キャンバスのサイズを画像サイズに合わせてます。
http://it.srad.jp/story/15/12/28/0254220/
バージョンはLatest commit 3f3c1cc Dec 24, 2015で示せばいいのかな?
auto_circle_collage.pde
15,16c15
< void setup() {
< size(IMG_WIDTH, IMG_HEIGHT);
---
> void settings() {
18c17,20
< img.resize(IMG_WIDTH, IMG_HEIGHT);
---
> size(img.width, img.height);
> }
>
> void setup() {
34c36
< PGraphics mask = createGraphics(IMG_WIDTH, IMG_HEIGHT);
---
> PGraphics mask = createGraphics(img.width, img.height);
「水玉コラ作成マシーン」がProcessing 3.0対応ではないようなので More ログイン