/** * binary image for camera by perlin noise * * @author aa_debdeb * @date 2016/07/19 */ import processing.video.*; Capture camera; PVector offset; float scale = 0.01; float tScale = 0.1; color c1 = color(255, 20, 147); color c2 = color(255, 140, 0); float threshold = 127; void setup(){ size(640, 480); noStroke(); offset = new PVector(random(10000), random(10000)); camera = new Capture(this, 320,
![カメラから取得した映像を二値化してパーリンノイズ柄にする - Daily Creative Coding](https://cdn-ak-scissors.b.st-hatena.com/image/square/50433ad50e458eda2be8b09ed434179204974404/height=288;version=1;width=512/https%3A%2F%2Fcdn-ak.f.st-hatena.com%2Fimages%2Ffotolife%2Fa%2Faa_debdeb%2F20160714%2F20160714203008.jpg)