Skip to content

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

Update README.md

Alejandro6f03c314d03f
diff --git a/README.md b/README.md
index 57e4a95..55fea57 100644
--- a/README.md
+++ b/README.md
@@ -372,7 +372,7 @@ Functions for managing brush behaviors and properties.
spacing: 0.6,
blend: true,
pressure: {
- type: "custom",
+ type: "standard",
min_max: [1.35,1],
curve: [0.35,0.25] // Values for the bell curve
},
@@ -380,7 +380,7 @@ Functions for managing brush behaviors and properties.
// in this example, the tip is composed of two squares, rotated 45 degrees
// Always execute drawing functions within the _m buffer!
_m.rotate(45), _m.rect(-1.5,-1.5,3,3), _m.rect(1,1,1,1);
- }
+ },
rotate: "natural",
})
```