Skip to content

Releases: acamposuribe/p5.brush

p5.brush.js 1.1.4

27 Oct 14:52
Compare
Choose a tag to compare
  • Prepares de library to work with p5.js > 1.11
  • Improves documentation
  • Minor bug fixes

p5.brush.js v.1.1.2

17 Feb 09:09
Compare
Choose a tag to compare

Annoyances and small bugs fixed.

p5.brush.js v.1.1.0

11 Jan 18:18
ed996d4
Compare
Choose a tag to compare

pr.brush is now ES6 ready! (I think)

You should now be able to import with npm (https://www.npmjs.com/package/p5.brush), for easy bundling.
This means that you can use the hosted minified version of the library: https://cdn.jsdelivr.net/npm/[email protected]/dist/p5.brush.js
Additionally, there are many fixes/improvements:

  • Fixed the rainbow problem when blending desaturated colours
  • Improved fill polygon generation
  • Fixed problems with using the library on p5 instance mode
  • Improved documentation
  • Etc.

p5.brush.js v.1.0.5

01 Dec 14:58
Compare
Choose a tag to compare

CHANGELOG

  • Fixed Instance Mode
  • New function remove()
  • Fixed a bug on the fillTexture strength
  • Improved brushes performance
  • Added internal randomGaussian function for full determinism

p5.brush.js v.1.0.4c

25 Nov 19:38
Compare
Choose a tag to compare

Bugfixes:

  • Fixed circle() and beginShape() when angleMode was RADIANS
  • Enhanced beginShape(curvature), endShape(CLOSE). Now it creates a proper continuous spline, when curvature is > 0

p5.brush.js v.1.0.4

24 Nov 22:35
Compare
Choose a tag to compare

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

p5.brush.js v.1.0.3

19 Nov 13:17
Compare
Choose a tag to compare

Changelog:

  • Fixed circle() bugs. Hatch and fill did not work correctly.
  • Added brush.push() and brush.pop() functions, for better parameter control.
  • Added brush.rotate() function. The p5 rotate() function is not compatible with the library, use brush.rotate() instead.
  • Added brush.reDraw() and brush.reBlend(), to allow for fine control over draw order.
  • Improved structure and documentation of p5.brush.js

p5.brush.js v.1.0.2

15 Nov 12:26
Compare
Choose a tag to compare
  • Fixed addField() bug and documentation
  • Fixed a strange webgl Chrome + Mac OS Sonoma bug

p5.brush.js v.1.0.1

14 Nov 10:37
0b00431
Compare
Choose a tag to compare

Changelog:

  • Fixed a bug with hatch angle, by which negative angles broke the function
  • Refactored the image tip loading to use the p5 loadImage() function, which lets user load images from an external server
  • Added a new parameter to let users control the border-strength for fill() operations

p5.brush.js v.1.0

12 Nov 19:31
2d6c609
Compare
Choose a tag to compare

First version of the library!
(Probably hundreds of bugs...)