Skip to content

v1.9

Compare
Choose a tag to compare
@quinton-ashley quinton-ashley released this 08 Dec 04:38
· 213 commits to main since this release

1.9.21

@Tezumie optimized the point function by filling a full arc with the stroke color, which is up to 10x faster than the previous method of stroking an ellipse!

Fixed windowResize not being called and fixed noise returning NaN if no z value was given (regressions).

Added initial website code.

1.9.20

Changed license to LGPLv3

1.9.19

Fixed image.save() so it'll work with images in q5, which use OffscreenCanvas.

Added image.trim() which creates a new image with transparent borders cropped out.trim() will do the same with the canvas.

1.9.18

Graphics should have an alpha channel by default, fixed that.

1.9.15

Fixed endShape doing a fill even if noFill was used.

1.9.14

Fixed "namespace" mode bug

1.9.13

Added fullscreen function and fixed nf

1.9.10

The desynchronized canvas attribute is now false by default. That's because I learned that it can cause screen tearing, which for general use is undesirable.

v1.9.9

image can now render frames from a video, matching p5's implementation.

Images by default should have an alpha channel! Whoops. Fixed that.

v1.9.7

In q5, createCanvas by default creates a canvas with no alpha channel for efficiency. Typical use doesn't require it.

v1.9.6

Partial fix for resizeCanvas

Made some loading optimizations.

v1.9.5

Added more intelligent auto-assigning of Color based whether the device supports HDR, then its potentially re-assign after the canvas is created and its color space is defined.

Fix for image.filters

v1.9.4

Fix for tint

v1.9.3

The future is here: q5.js now supports HDR color space! ✨

Completing #21, #22, #23, and #24

See the README.md page for documentation.

Check out my "HDR Web Design Guide" for more info on how to use HDR in your own projects. 🤝
https://quinton-ashley.github.io/hdr-web-design-guide/

Added opacity function.

q5 now requires users to explicitly create a canvas.

v1.9.2

Fixed Vector instance functions #20

v1.9.0

Implemented changes made to p5.Graphics.get in v1.9.0 of p5.js