Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

extract image in p5.js

function setup() {
let c = createCanvas(100, 100);
background(255, 0, 0);
saveCanvas(c, 'myCanvas', 'jpg');
}
Source by p5js.org #
 
PREVIOUS NEXT
Tagged: #extract #image
ADD COMMENT
Topic
Name
9+9 =