Skip to content

Unlock custom brushes, natural fill effects and intuitive hatching in p5.js

Improvement

acamposuribe1a39db2e292d
diff --git a/example/sketch.js b/example/sketch.js
index 4f1439f..da37487 100644
--- a/example/sketch.js
+++ b/example/sketch.js
@@ -146,7 +146,7 @@ function draw() {
background("#ffe6d4");
randomSeed(33213 * seeds[56])
- brush.set("cpencil", "#003c32", 1)
+ brush.set("pen", "#000000", 1)
randomSeed(33213 * seeds[35])
brush.hatchStyle("HB", "#c76282", 1.3)