Skip to content

v2.4

Compare
Choose a tag to compare
@quinton-ashley quinton-ashley released this 15 Sep 16:43
· 150 commits to main since this release

2.4.8

Tried editing the text image cache system so that it doesn't have to recreate a canvas if the text only needs to be redrawn with a different color. Found out that the real bottleneck is not creating OffscreenCanvases or GPU textures but GPUQueue copyExternalImageToTexture.

2.4.7

Text rendering in q5 q2d is now so fast that I disabled the text cache system by default in q2d mode.

I also refactored and upgraded the text image cache system.

More info: https://github.com/q5js/q5.js/wiki/Developer-Log#text-caching-system-upgraded--september-20-2024

2.4.6

Added TypeScript definition file q5.d.ts for use with Visual Studio Code for auto-completion and hover over documentation.

2.4.3

Fix for setting pixelDensity on graphics objects created before createCanvas is run.

2.4.2

Fixed image dimension pixel density scaling, which should only be applied if display width and height are not specified

2.4.1

Prevent "Uncaught SecurityError: Failed to execute 'copyExternalImageToTexture' on 'GPUQueue': The external image is tainted by cross-origin data." by setting img.crossOrigin = 'Anonymous';

2.4.0

Text image rendering added to the q5-webgpu renderer!

  • fixed translate y value not being flipped to match the canvas' pixel coordinates