@thi.ng/pixel-dither 1.1.111 → 1.1.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-02-25T14:07:53Z
3
+ - **Last updated**: 2024-03-02T14:05:53Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,16 +1,5 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
  <!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
3
- > [!IMPORTANT]
4
- > ‼️ Announcing the thi.ng user survey 2024 📋
5
- >
6
- > [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
7
- > (open until end of February)
8
- >
9
- > **To achieve a better sample size, I'd highly appreciate if you could
10
- > circulate the link to this survey in your own networks.**
11
- >
12
- > [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
13
-
14
3
  # ![@thi.ng/pixel-dither](https://media.thi.ng/umbrella/banners-20230807/thing-pixel-dither.svg?2cbd8ab2)
15
4
 
16
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/pixel-dither.svg)](https://www.npmjs.com/package/@thi.ng/pixel-dither)
@@ -22,7 +11,7 @@
22
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
23
12
  > and anti-framework.
24
13
  >
25
- > 🚀 Help me to work full-time on these projects by [sponsoring me on
14
+ > 🚀 Please help me to work full-time on these projects by [sponsoring me on
26
15
  > GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
27
16
 
28
17
  - [About](#about)
@@ -130,6 +119,8 @@ diffused/distributed to neighbors. This approach makes it very easy to define
130
119
  custom dither configs, like so:
131
120
 
132
121
  ```ts
122
+ import { ditherWith, type DitherKernel } from "@thi.ng/pixel-dither";
123
+
133
124
  const CUSTOM: DitherKernel = {
134
125
  // X offsets of neighbor pixels to update
135
126
  ox: [1],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/pixel-dither",
3
- "version": "1.1.111",
3
+ "version": "1.1.113",
4
4
  "description": "Extensible image dithering w/ various algorithm presets",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,9 +35,9 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/checks": "^3.5.0",
39
- "@thi.ng/math": "^5.10.3",
40
- "@thi.ng/pixel": "^6.1.13"
38
+ "@thi.ng/checks": "^3.5.1",
39
+ "@thi.ng/math": "^5.10.4",
40
+ "@thi.ng/pixel": "^6.1.15"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@microsoft/api-extractor": "^7.40.1",
@@ -105,5 +105,5 @@
105
105
  "parent": "@thi.ng/pixel",
106
106
  "year": 2021
107
107
  },
108
- "gitHead": "190d68e7f7524631b333cfdbf32c6a23be27c166\n"
108
+ "gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
109
109
  }