Skip to content

Releases: zenozeng/p5.js-svg

v1.1.0

05 Jul 15:56
Compare
Choose a tag to compare

v1.0.8

26 Jun 13:55
Compare
Choose a tag to compare
  • fix: set $this for RendererSVG.prototype.parent, fixes #187

v1.0.7

14 Jun 17:53
Compare
Choose a tag to compare
  • feat: sync element's width and height to context ([email protected]), calling clear() in your draw function will now trigger internal context.__clearCanvas() to remove elements.
  • test: add test for loadFont, fixes #147

v1.0.6

14 Jun 07:43
Compare
Choose a tag to compare

fix: use encodeURIComponent when saving svg, fixes #176 (save() bug)

v1.0.5

06 Jun 17:44
Compare
Choose a tag to compare
  • feat: implement CanvasTransform Interface, see gliffy/canvas2svg#83, fixes #170
  • refactor: support [email protected], see #182
  • refactor: ESM
  • refactor: remove loadGraphics
  • fix: keep svgcanvas's root when applying filter
  • fix: call _incrementPreload & _decrementPreload in p5.prototype.loadSVG, fixes #168
  • test: add test for resetMatrix, for #170
  • test: diff without converting to png
  • test: update IO/saveFrames tests

v0.5.2

25 Jan 16:31
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release

[email protected] (requires [email protected])

  • Remove String.prototype.repeat polyfill
  • Replace this._graphics with this._renderer (for [email protected])
  • Add RendererSVG.prototype.line, fixes #159

v0.5.1

21 Sep 17:36
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

[email protected] (requires [email protected])

  • Fix issues with unit tests

v0.5.0

14 Sep 14:51
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

[email protected] (requires [email protected])

  • Fix loadSVG in [email protected]
  • RendererSVG.prototype.appendChild(SVGElement)
  • Configure ESLint and make it happy
  • Allow save SVGElement in save() and saveSVG()
  • add p5.prototype.registerSVGFilter
  • add p5.prototype.getDataURL

v0.4.3

21 Aug 12:43
Compare
Choose a tag to compare
v0.4.3 Pre-release
Pre-release

[email protected] (requires [email protected] with patch#850)

  • Write filter attribute every time filter applied, fixes #137
  • Fix SVGElement.unfilter not work when arg not defined
  • Update documentation
  • Add examples for using p5.SVG
  • Use jsdoc3

v0.4.2

17 Aug 15:48
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

[email protected] (built on top of [email protected], with patch#850)

p5.SVG

  • add String.prototype.repeat polyfill: fixes #126 & #127
  • Update Browser Compatibility Info (add Safari 8 on Mac and Safari on iOS 8)
  • mocha.setup({timeout: 10000, slow: 2000})
  • Update documentation