Skip to content

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

Smaller res for example

Alejandro1b431fe46a7a
diff --git a/sketch.js b/sketch.js
index 8dd08e4..3573fe4 100644
--- a/sketch.js
+++ b/sketch.js
@@ -23,7 +23,7 @@ const C = {
};
// SET CANVAS SIZE: width, height, pixelDensity, html_id for the canvas
// Here I'm working with mm units, so I want a big pixelDensity for high-res.
-C.setSize(250,280,10,'mainCanvas')
+C.setSize(250,280,5,'mainCanvas')
function windowResized () {
C.resize();