p5.js v0.8.0 Release Notes

Release Date: 2019-04-08 // over 2 years ago
    • ⚡️ updated reference examples to ES6
    • ⚡️ updated dev docs to ES6
    • 🛠 fix p5.dom drop() function
    • ➕ add toggleClass(), hasClass(), addClass() methods to p5.dom
    • 🛠 fix get() method for createCapture()
    • 🛠 fix style() function for positioning
    • 🛠 fix normals for cylinder() and cone()
    • 🛠 fix arc()
    • 🛠 fix handling of keyboard events with multiple sketch instances
    • 🛠 fix for pixel updating
    • ➕ add p5.Graphics.reset()
    • 🛠 fix for circle() to take diameter instead of radius
    • 🛠 fix for square() to accept corner radius argument
    • 🛠 fix Infinity handling for int(), float(), hex()
    • 🛠 fix texture wrapping
    • ➕ add image() to webgl mode
    • ➕ added blendMode() to webgl mode
    • ➕ add resetShader() method
    • ➕ add lights() function to webgl mode
    • implemented shininess()
    • setAttributes() can be called before gl canvas is created