Unlock custom brushes, natural fill effects and intuitive hatching in p5.js
Updated teaser
acamposuribe32375d519376
diff --git a/README.md b/README.mdindex bce2e23..ebc4224 100644--- a/README.md+++ b/README.md@@ -1,4 +1,4 @@-+# p5.brush.jsdiff --git a/example/index.html b/example/index.htmlindex d735ecd..b916569 100644--- a/example/index.html+++ b/example/index.html@@ -1,7 +1,7 @@<!doctype html><html><head>- <title>p5.brush.js Example</title>+ <title>p5.brush.js Teaser</title><script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js"></script><script src="../dist/p5.brush.js"></script><link rel="stylesheet" href="./style.css" />diff --git a/example/sketch.js b/example/sketch.jsindex da37487..7130063 100644--- a/example/sketch.js+++ b/example/sketch.js@@ -46,11 +46,12 @@ async function setup() {for (let i = 0; i < 150; i++) seeds.push(random())background("#fffceb")++ frameRate(30)}function draw() {-- frameRate(30)+const t = frameCount / 30let scene = floor(t / 5) % 6textFont(font)diff --git a/images/p5brush.gif b/images/p5brush.gifnew file mode 100644index 0000000..baec8c7Binary files /dev/null and b/images/p5brush.gif differ