@thi.ng/webgl-msdf 2.1.247 → 2.1.248
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/README.md +19 -18
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/webgl-msdf)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -25,11 +26,11 @@
|
|
|
25
26
|
|
|
26
27
|
## About
|
|
27
28
|
|
|
28
|
-
Multi-channel SDF font rendering & basic text layout for WebGL. This is a support package for [@thi.ng/webgl](https://
|
|
29
|
+
Multi-channel SDF font rendering & basic text layout for WebGL. This is a support package for [@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl).
|
|
29
30
|
|
|
30
31
|
This package provides [multi-channel SDF font
|
|
31
32
|
rendering](https://github.com/Chlumsky/msdfgen) capabilities for
|
|
32
|
-
[@thi.ng/webgl](https://
|
|
33
|
+
[@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl),
|
|
33
34
|
incl. optional support for basic text alignment, vertex colors (e.g. for
|
|
34
35
|
multi-color text), and shader options to draw outlines for each
|
|
35
36
|
character. Furthermore, the key GLSL functions are provided as shader
|
|
@@ -44,7 +45,7 @@ McCurdy's](https://msdf-bmfont.donmccurdy.com/).
|
|
|
44
45
|
|
|
45
46
|
**STABLE** - used in production
|
|
46
47
|
|
|
47
|
-
[Search or submit any issues for this package](https://
|
|
48
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bwebgl-msdf%5D)
|
|
48
49
|
|
|
49
50
|
## Installation
|
|
50
51
|
|
|
@@ -70,24 +71,24 @@ Package sizes (brotli'd, pre-treeshake): ESM: 1.57 KB
|
|
|
70
71
|
|
|
71
72
|
## Dependencies
|
|
72
73
|
|
|
73
|
-
- [@thi.ng/api](https://
|
|
74
|
-
- [@thi.ng/shader-ast](https://
|
|
75
|
-
- [@thi.ng/transducers](https://
|
|
76
|
-
- [@thi.ng/vector-pools](https://
|
|
77
|
-
- [@thi.ng/vectors](https://
|
|
78
|
-
- [@thi.ng/webgl](https://
|
|
74
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
75
|
+
- [@thi.ng/shader-ast](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/shader-ast)
|
|
76
|
+
- [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
77
|
+
- [@thi.ng/vector-pools](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vector-pools)
|
|
78
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
79
|
+
- [@thi.ng/webgl](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/webgl)
|
|
79
80
|
|
|
80
81
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
81
82
|
|
|
82
83
|
## Usage examples
|
|
83
84
|
|
|
84
85
|
One project in this repo's
|
|
85
|
-
[/examples](https://
|
|
86
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
86
87
|
directory is using this package:
|
|
87
88
|
|
|
88
|
-
| Screenshot | Description | Live demo | Source
|
|
89
|
-
|
|
90
|
-
| <img src="https://
|
|
89
|
+
| Screenshot | Description | Live demo | Source |
|
|
90
|
+
|:------------------------------------------------------------------------------------------------------------------|:--------------------------------------------|:-------------------------------------------------|:--------------------------------------------------------------------------------------|
|
|
91
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/webgl-msdf.jpg" width="240"/> | WebGL MSDF text rendering & particle system | [Demo](https://demo.thi.ng/umbrella/webgl-msdf/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/webgl-msdf) |
|
|
91
92
|
|
|
92
93
|
## API
|
|
93
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl-msdf",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.248",
|
|
4
4
|
"description": "Multi-channel SDF font rendering & basic text layout for WebGL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/webgl-msdf"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/webgl-msdf",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/shader-ast": "^1.1.
|
|
45
|
-
"@thi.ng/transducers": "^9.6.
|
|
46
|
-
"@thi.ng/vector-pools": "^3.2.
|
|
47
|
-
"@thi.ng/vectors": "^8.6.
|
|
48
|
-
"@thi.ng/webgl": "^6.9.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/shader-ast": "^1.1.45",
|
|
45
|
+
"@thi.ng/transducers": "^9.6.31",
|
|
46
|
+
"@thi.ng/vector-pools": "^3.2.94",
|
|
47
|
+
"@thi.ng/vectors": "^8.6.26",
|
|
48
|
+
"@thi.ng/webgl": "^6.9.104"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"esbuild": "^0.27.2",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"tag": "msdf",
|
|
98
98
|
"year": 2019
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
101
101
|
}
|