Skip to content

v2.7

Compare
Choose a tag to compare
@quinton-ashley quinton-ashley released this 19 Oct 20:50
· 84 commits to main since this release

2.7.7

Thanks to user @ Jan_Niek on discord for reporting a bug that prevented noCanvas sketches from running, now fixed.

2.7.3

Fixed variable undefined in setup in top-level global mode.

Fixes I did to enable use of preload with q5's instance mode broke top-level global mode.

new Q5();

let img = loadImage('hello.png');

function setup() {
  log(img); // img is undefined if Q5 doesn't wait to run setup
}

Q5 needs to wait for the rest of the script, or at least one of the "load" functions to run.

2.7.2

Fixed issues with q5 webgpu modules, all pipelines need to have multisample set to 4.

2.7.1

core module documentation added.
https://q5js.org/learn/#core

Bug fix enables use of the preload function with q5's "instance" mode (previously called "namespace" mode).

q5 will now be more error tolerant by default, only stopping the draw loop if an error occurs in the draw loop, not in other user defined q5 functions. If an error happens in mousePressed for example, the draw loop will keep looping.