Skip to content

Releases: processing/p5.js

0.4.6

24 Jun 18:52

Choose a tag to compare

  • Added code of conduct (contributing.md).
  • Refactored graphics to have separate rendering contexts for Canvas and WebGL renderers. Added p5.Renderer, p5.Renderer2D, and p5.Renderer3D. Began implementation of p5.Renderer3D.
  • Added p5.Font class and support for loadFont() and various typography functions.
  • Refactored codebase to have more reasonable folder structure, changed require links within files to use relative paths.
  • Fixes to frameRate issues.
  • Fixes to p5.Color and related functions, added support for HSLA.
  • Added browser-specific checks for the various smoothings.
  • Updates to documentation throughout.
  • Fixed arc method (in progress).
  • Implemented loadXML().
  • Fixed bugs with nf().
  • Fixed issues with pixels and retina.
  • Cleaned up gruntfile.
  • Added friendly error messages.

0.4.5

27 May 14:03

Choose a tag to compare

  • fix lerpColor()
  • updated DOM examples
  • fix to touch events
  • added support for char(), int(), byte(), etc
  • updated inline doc

0.4.4

13 Apr 01:17

Choose a tag to compare

  • added p5.Vector equals() method
  • createCapture() now supports constraints object and callback
  • added support for color strings
  • fixed touchX and touchY coords
  • updated documentation

0.4.3

30 Mar 23:49

Choose a tag to compare

fixes and improvements to loadTable and p5.Table
helper in text() function to handle non-string input
added accelerometer functions
added documentation
fixes for name of event handler methods

0.4.2

16 Feb 16:15

Choose a tag to compare

  • fix to loadJSON()
  • fixes to p5.Color + tests

0.4.1

13 Feb 05:16

Choose a tag to compare

  • Refactor p5.Color to fix bugs.
  • Fix preload() to avoid losing additional args, support loadTable().
  • Adding p5.File functionality to p5.dom.js, including open and drag and drop.
  • Fix for mask() function to fix incorrect inversion of alpha.
  • Fix to arc() function to support cases where w !== h.
  • Wrapping modules to support amd/browserify.
  • Fixes to p5.Vector().

0.4.0

02 Feb 05:07

Choose a tag to compare

  • fixes to background and pixels so they're not affected by transforms
  • added async option for instantiation
  • updates to p5.sound and p5.sound docs
  • p5.dom amd module wrapper
  • added touchIsDown variable
  • added optional failure callback to loadImage

0.3.16

08 Jan 19:33

Choose a tag to compare

  • UMD compatible
  • added documentation and minor fixes

0.3.15

23 Dec 18:26

Choose a tag to compare

  • fix nfc
  • remove overwrite of escape function
  • added documentation
  • added httpDo method
  • added url helper methods

0.3.14

10 Dec 22:08

Choose a tag to compare

  • added element specific touch listeners, and default fallbacks for mouse/touch
  • added devicePixelScaling() method
  • added httpGet and httpPost methods
  • added support for \n and \t in text()
  • added key clearing for keyIsDown() method onblur
  • merged p5.sound updates
  • fixed bug with getElements()
  • fixed bug with loadPixels in capture