UNPKG

@thi.ng/canvas

Version:

Canvas creation & HDPI support helpers

52 lines (30 loc) 2 kB
# Change Log - **Last updated**: 2025-09-01T16:38:35Z - **Generator**: [thi.ng/monopub](https://thi.ng/monopub) All notable changes to this project will be documented in this file. Only versions published since **2022-01-01** are listed here. Please consult the Git history for older version information. See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines. **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies. ### [1.0.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@1.0.2) (2025-01-14) #### ♻️ Refactoring - use optional chaining & nullish coalescing ([c5a0a13](https://github.com/thi-ng/umbrella/commit/c5a0a13)) ## [0.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.5.0) (2024-08-10) #### 🚀 Features - add poisson-image example ([87ec9e7](https://github.com/thi-ng/umbrella/commit/87ec9e7)) - update readmes - cc @nkint :) ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.4.0) (2024-08-01) #### 🚀 Features - add offscreenCanvas2d() & OffscreenCanvasContext ([ec59f5c](https://github.com/thi-ng/umbrella/commit/ec59f5c)) ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.3.0) (2024-08-01) #### 🚀 Features - extend CanvasContext and related functions to support OffscreenCanvas for better performance in web workers ([56d0985](https://github.com/thi-ng/umbrella/commit/56d0985)) refactor(pixel): update canvas handling in pixel module to accommodate OffscreenCanvas for improved rendering capabilities ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.2.0) (2024-01-26) #### 🚀 Features - add imageCanvas() ([2d6a988](https://github.com/thi-ng/umbrella/commit/2d6a988)) ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/canvas@0.1.0) (2023-12-19) #### 🚀 Features - import as new pkg ([129d92e](https://github.com/thi-ng/umbrella/commit/129d92e))