Skip to content

p5.brush.js v.1.0.4

Compare
Choose a tag to compare
@acamposuribe acamposuribe released this 24 Nov 22:35
· 32 commits to main since this release

Changelog:

  • Fill operations
    • Now shapes bleed automatically to the outside. Added an option to bleed to the inside. Use brush.bleed(strength, "out" | "in")
    • New function brush.fillTexture(texture_strength, border_strength) to have finer control of the fill operations.
  • Scale
    • New brush.scale() function that works like the scale() p5 function.
    • The previous scale() function is not scaleBrushes(), and has been moved to the config section of the reference, to avoid confusion
  • Fixed bugs when plotting curves and strokes
  • Smaller minified version
  • Added friendly error messages for the full p5.brush.js version