Skip to content

Releases: processing/p5.js

0.5.4

01 Oct 16:46
Compare
Choose a tag to compare
  • add functionality for accessibility alt text for reference examples
  • fix winMouseX/Y vars
  • fix windowWidth, windowHeight vars
  • fix to loadJSON method
  • fix image resize() method
  • add continuous slider functionality to createSlider() function
  • documented and add tests for on demand global mode
  • add support for mask() function in p5.MediaElement
  • change println() to print(). remove println()
  • update sound version 0.3.1

0.5.3

18 Aug 02:20
Compare
Choose a tag to compare
  • improvements to documentation
  • performance enhancement of get()
  • removing print() method
  • add access to p5 instance from global scope
  • fix for windowWidth and windowHeight
  • add optional param to redraw() to control number of redraws
  • add removeAttribute() function (p5.dom)
  • fixes to 2D primitives in webgl mode
  • cleanup and refactoring of webgl code
  • add property to p5 to disable friendly errors
  • added alt text capability for reference

0.5.2

17 Jun 03:37
Compare
Choose a tag to compare
  • fix bug with rotate()
  • fix bug with webgl texture, so no longer requires p5.dom included
  • fix handling of mouseX/mouseY
  • fix p5.Color methods and string handling
  • update documentation
  • fix webgl lights, material, and geometry

0.5.1

10 Jun 21:22
Compare
Choose a tag to compare
  • doc fixes
  • improvements to docs to load faster
  • fix to push/pop bug causing accumulating transformations
  • improvements to textures in webgl mode
  • renames p5.Renderer3D to p5.RendererGL
  • fixes for font alignment bugs, updates to docs
  • fix for capture width/height bug

0.5.0

02 May 13:30
Compare
Choose a tag to compare
  • major WebGL / 3D fixes and updates
  • OBJ loader functionality added
  • minor updates to documentation

0.4.24

25 Apr 22:29
Compare
Choose a tag to compare
  • Fixed bug with shearX/Y
  • Fixed bug with p5.Image.blend()
  • Fix bugs with push()/pop() on draw() loop
  • Fix loadPixels() bug ONCE AND FOR ALL (hopefully?)
  • p5.XML implemented
  • Add an 'init' registerMethod() type
  • Documentation and example improvements
  • Preprocess docs descriptions as Markdown for better display
  • Added yuidoc preprocessor for overloaded methods
  • Log helpful warnings if user overwrites p5 globals

0.4.23

04 Mar 23:16
Compare
Choose a tag to compare
  • Fix typos in docs.
  • Added examples.
  • Fix to loadTable() to handle files with no header.
  • Cleanup of color functions to support colorMode with p5.Graphics.
  • Better friendly error help for top level p5 function calls.
  • Fix bug with get()/loadPixels() in capture.
  • Fix to style().
  • Removed p5.Element.rotate() and p5.Element.translate().
  • Add speed() method for video playback.

0.4.22

04 Feb 18:59
Compare
Choose a tag to compare
  • p5.sound v0.3.0
    • fix p5.SoundFile memory leak
    • error handling for loadSound and createConvolver
    • ensure that all p5.sound objects can be disposed
    • many improvements to p5.Env including new methods: setADSR(), setRange(), ramp(), setExp()
    • add p5.FFT getCentroid()
  • p5.dom v0.2.7
  • p5.MediaElement size() fix for loadPixels
  • fix text() errors when font is loaded outside of preload() && preload() exists
  • fix keyPressed event firing
  • fix image.resize() auto-resize
  • documentation updates

0.4.21

05 Jan 00:13
Compare
Choose a tag to compare
  • documentation cleanup
  • updates to yuidoc tasks
  • add minify p5.dom.js task to grunt
  • added p5.Font.textToPoints()
  • cleanup style() function and added examples
  • fix set()/get() to round to integer pixel vals
  • fix mouse coords to update on frame correctly
  • fix for accumulating transforms across draw calls

0.4.20

11 Dec 18:34
Compare
Choose a tag to compare

bug fixes

  • fix tint() for capture
  • fixes to p5.MediaElement
  • fix to mouse wheel event

features

  • child() returns array of children if called with no args
  • add top level help warnings for random(), color() outside setup/draw
  • added tests, optimized run time
  • added modernizr.js to test suite to check browser functionality before running tests
  • added ellipsoid

documentation

  • added fault tolerance for failed examples in ref pages
  • fixed frameRate() example
  • remove duplicate references files in docs folder
  • setup helpers.js and grunt tasks to handle building local dev vs production versions of the reference

workflow

  • add preliminary saucelabs integration
  • update to p5.sound