Unlock custom brushes, natural fill effects and intuitive hatching in p5.js
Merge branch 'main' of https://github.com/acamposuribe/brushbox
Alejandro86d72f945b81
diff --cc sketch.jsindex 343e096,1e51f8a..4a6155f--- a/sketch.js+++ b/sketch.js@@@ -79,15 -82,17 +79,14 @@@ function setup ()// STANDARD PALETTE TEST- brush.field("seabed")- /*-let i = 0for (let b of brush.box()) {brush.set(b,random(palette),1)- brush.line(30,30+i*10,220,30+i*10)+ brush.flowLine(30,30+i*10,200,0)i++}-- /*+// Set your brush name, color, and weight. There are 9 standard brushes to select from.// Select colors with HEX codes, arrays of [r,g,b] or names@@@ -209,7 -214,7 +208,7 @@@brush.set("2B","#9c2128",1)-- */++let num_cols = 5let num_rows = 3@@@ -229,8 -234,7 +228,9 @@@brush.rect(20 + col_size * j, 20 + row_size * i, col_size, row_size)}}- */+++ */+}