Releases: q5js/q5.js
v1.2
This release features full compatibility with p5play! Compatibility with other p5.js addons hasn't been tested yet.
Please report any issues you find! :)
1.2.5
Implemented windowResized
and resizeCanvas
1.2.3
Fixed namespace mode.
1.2.1
Re-implemented of p5.Vector
functions using vector.copy()
functionality.
1.2.0
Fixed the saveCanvas
function. Improved the save
function by adding the ability to save plain text and json.
1.1.17
Fixed issue #10. The normalize function will not attempt divide vector components by zero now.
1.1.16
Fixed the noLoop
function.
1.1.15
Added more named colors for increased general and p5play specific compatibility.
1.1.14
Support for more named colors.
1.1.12
Big thanks to @ormaq for numerous bug fix reports, suggestions, and pull requests which culminated in this v1.1.12 release! q5 now has a proper implementation for resizeCanvas
, windowResized
, canvas.parent
, and Vector
functions which need to respect the user's angleMode
setting. 🎊
v1.0
This preview version has high compatibility with p5.js and has been made available for beta testing!
Co-creator of q5, @quinton-ashley, added a ton of features:
registerMethod
functionality for supporting p5.js addons such as p5play!- automatic global instance creation, can also be user instantiated as well with
new Q5('global')
like with the previous version of q5xjs - p5 instance mode support
- add q5 canvas to a container element with
new Q5('global', parentElem)
ornew Q5(parentElem)
angleMode
functionalityloadSound
function that returns a barebones sound object withplay
,pause
, andsetVolume
methods- fixed
pixelDensity
bugs - fixed
text
function bug not displaying "0" (falsey value in JS) - fixed
keyPressed
repeating key presses - made
instanceof
checks work for q5.js objects of theColor
,Vector
, andImage
classes - the
push
andpop
functions now save and restore style properties likerectMode
andstrokeWeight
nf
(number format) function, which is used in p5playpow
function alias toMath.pow
- prevented text stroke from being drawn if the user did not specify a stroke (p5.js behavior)
- fixed
Vector.lerp
implementation - fixed
mouseX
andmouseY
not updating when the mouse is outside the canvas