textmode.js 0.8.1-beta.1 → 0.9.0-beta.1

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.
Files changed (33) hide show
  1. package/README.md +179 -179
  2. package/dist/textmode.esm.js +2830 -2349
  3. package/dist/textmode.umd.js +18 -16
  4. package/dist/types/exports/conversion.d.ts +1 -0
  5. package/dist/types/exports/filters.d.ts +1 -0
  6. package/dist/types/exports/input.d.ts +1 -0
  7. package/dist/types/exports/layering.d.ts +1 -0
  8. package/dist/types/exports/loadables.d.ts +1 -0
  9. package/dist/types/exports/loading.d.ts +1 -0
  10. package/dist/types/exports/plugins.d.ts +1 -0
  11. package/dist/types/index.d.ts +35 -1
  12. package/dist/types/rendering/webgl/core/Framebuffer.d.ts +1 -1
  13. package/dist/types/rendering/webgl/core/Shader.d.ts +17 -3
  14. package/dist/types/rendering/webgl/core/interfaces/IFramebuffer.d.ts +1 -8
  15. package/dist/types/textmode/AnimationController.d.ts +17 -0
  16. package/dist/types/textmode/Grid.d.ts +2 -0
  17. package/dist/types/textmode/Textmodifier.d.ts +7 -15
  18. package/dist/types/textmode/interfaces/ITextmodifier.d.ts +3 -11
  19. package/dist/types/textmode/layers/Camera3D.d.ts +205 -0
  20. package/dist/types/textmode/layers/Layer3DCompositor.d.ts +152 -0
  21. package/dist/types/textmode/layers/LayerManager.d.ts +70 -25
  22. package/dist/types/textmode/layers/TextmodeLayer.d.ts +12 -52
  23. package/dist/types/textmode/layers/index.d.ts +4 -0
  24. package/dist/types/textmode/layers/interfaces/ILayerManager.d.ts +52 -0
  25. package/dist/types/textmode/layers/interfaces/ITextmodeLayer.d.ts +49 -2
  26. package/dist/types/textmode/managers/PluginManager.d.ts +155 -7
  27. package/dist/types/textmode/mixins/interfaces/IAnimationMixin.d.ts +95 -0
  28. package/dist/types/textmode/mixins/interfaces/IRenderingMixin.d.ts +80 -0
  29. package/dist/types/textmode/types.d.ts +4 -3
  30. package/dist/types/utils/TextmodeCollection.d.ts +262 -0
  31. package/dist/types/utils/mat3.d.ts +149 -0
  32. package/dist/types/utils/math.d.ts +26 -0
  33. package/package.json +107 -72
package/package.json CHANGED
@@ -1,72 +1,107 @@
1
- {
2
- "name": "textmode.js",
3
- "version": "0.8.1-beta.1",
4
- "description": "textmode.js is a lightweight creative coding library for creating real-time ASCII art on the web.",
5
- "type": "module",
6
- "types": "./dist/types/index.d.ts",
7
- "main": "./dist/textmode.umd.js",
8
- "module": "./dist/textmode.esm.js",
9
- "exports": {
10
- ".": {
11
- "types": "./dist/types/index.d.ts",
12
- "import": "./dist/textmode.esm.js",
13
- "require": "./dist/textmode.umd.js"
14
- }
15
- },
16
- "scripts": {
17
- "dev": "vite --port 5177 --host",
18
- "build": "vite build && tsc",
19
- "build:full": "vite build && tsc",
20
- "build:docs": "typedoc",
21
- "dev:docs": "typedoc --watch",
22
- "preview": "vite preview",
23
- "test": "vitest",
24
- "test:ui": "vitest --ui",
25
- "test:run": "vitest run",
26
- "test:coverage": "vitest --coverage",
27
- "format": "prettier --write \"src/**/*.{ts,js}\"",
28
- "format:check": "prettier --check \"src/**/*.{ts,js}\""
29
- },
30
- "devDependencies": {
31
- "@mapwhit/glsl-minify": "^1.0.0",
32
- "@rollup/plugin-terser": "^0.4.4",
33
- "@types/jsdom": "^21.1.7",
34
- "@types/node": "^24.0.13",
35
- "@vitest/ui": "^3.1.2",
36
- "jsdom": "^26.1.0",
37
- "prettier": "^3.7.4",
38
- "terser": "^5.43.1",
39
- "tslib": "^2.8.1",
40
- "typedoc": "^0.28.13",
41
- "typedoc-plugin-markdown": "^4.7.0",
42
- "typedoc-vitepress-theme": "^1.1.2",
43
- "typescript": "^5.9.2",
44
- "vite": "^6.3.4",
45
- "vite-plugin-glsl": "^1.5.1",
46
- "vitest": "^3.1.2"
47
- },
48
- "repository": {
49
- "type": "git",
50
- "url": "git+https://github.com/humanbydefinition/textmode.js.git"
51
- },
52
- "keywords": [
53
- "ascii",
54
- "petscii",
55
- "textmode",
56
- "canvas",
57
- "webgl",
58
- "creative-coding",
59
- "art",
60
- "design",
61
- "graphics"
62
- ],
63
- "author": "humanbydefinition",
64
- "license": "MIT",
65
- "bugs": {
66
- "url": "https://github.com/humanbydefinition/textmode.js/issues"
67
- },
68
- "homepage": "https://code.textmode.art",
69
- "files": [
70
- "dist"
71
- ]
72
- }
1
+ {
2
+ "name": "textmode.js",
3
+ "version": "0.9.0-beta.1",
4
+ "description": "textmode.js is a lightweight creative coding library for creating real-time ASCII art on the web.",
5
+ "type": "module",
6
+ "types": "./dist/types/index.d.ts",
7
+ "main": "./dist/textmode.umd.js",
8
+ "module": "./dist/textmode.esm.js",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/types/index.d.ts",
12
+ "import": "./dist/textmode.esm.js",
13
+ "require": "./dist/textmode.umd.js"
14
+ },
15
+ "./loadables": {
16
+ "types": "./dist/types/exports/loadables.d.ts",
17
+ "import": "./dist/textmode.esm.js",
18
+ "require": "./dist/textmode.umd.js"
19
+ },
20
+ "./conversion": {
21
+ "types": "./dist/types/exports/conversion.d.ts",
22
+ "import": "./dist/textmode.esm.js",
23
+ "require": "./dist/textmode.umd.js"
24
+ },
25
+ "./filters": {
26
+ "types": "./dist/types/exports/filters.d.ts",
27
+ "import": "./dist/textmode.esm.js",
28
+ "require": "./dist/textmode.umd.js"
29
+ },
30
+ "./loading": {
31
+ "types": "./dist/types/exports/loading.d.ts",
32
+ "import": "./dist/textmode.esm.js",
33
+ "require": "./dist/textmode.umd.js"
34
+ },
35
+ "./input": {
36
+ "types": "./dist/types/exports/input.d.ts",
37
+ "import": "./dist/textmode.esm.js",
38
+ "require": "./dist/textmode.umd.js"
39
+ },
40
+ "./layering": {
41
+ "types": "./dist/types/exports/layering.d.ts",
42
+ "import": "./dist/textmode.esm.js",
43
+ "require": "./dist/textmode.umd.js"
44
+ },
45
+ "./plugins": {
46
+ "types": "./dist/types/exports/plugins.d.ts",
47
+ "import": "./dist/textmode.esm.js",
48
+ "require": "./dist/textmode.umd.js"
49
+ }
50
+ },
51
+ "scripts": {
52
+ "dev": "vite --port 5177 --host",
53
+ "build": "vite build && tsc",
54
+ "build:full": "vite build && tsc",
55
+ "build:docs": "typedoc",
56
+ "dev:docs": "typedoc --watch",
57
+ "preview": "vite preview",
58
+ "test": "vitest",
59
+ "test:ui": "vitest --ui",
60
+ "test:run": "vitest run",
61
+ "test:coverage": "vitest --coverage",
62
+ "format": "prettier --write \"src/**/*.{ts,js}\"",
63
+ "format:check": "prettier --check \"src/**/*.{ts,js}\""
64
+ },
65
+ "devDependencies": {
66
+ "@mapwhit/glsl-minify": "^1.0.0",
67
+ "@rollup/plugin-terser": "^0.4.4",
68
+ "@types/jsdom": "^21.1.7",
69
+ "@types/node": "^24.0.13",
70
+ "@vitest/ui": "^3.1.2",
71
+ "jsdom": "^26.1.0",
72
+ "prettier": "^3.7.4",
73
+ "terser": "^5.43.1",
74
+ "tslib": "^2.8.1",
75
+ "typedoc": "^0.28.13",
76
+ "typedoc-plugin-markdown": "^4.7.0",
77
+ "typedoc-vitepress-theme": "^1.1.2",
78
+ "typescript": "^5.9.2",
79
+ "vite": "^6.3.4",
80
+ "vite-plugin-glsl": "^1.5.1",
81
+ "vitest": "^3.1.2"
82
+ },
83
+ "repository": {
84
+ "type": "git",
85
+ "url": "git+https://github.com/humanbydefinition/textmode.js.git"
86
+ },
87
+ "keywords": [
88
+ "ascii",
89
+ "petscii",
90
+ "textmode",
91
+ "canvas",
92
+ "webgl",
93
+ "creative-coding",
94
+ "art",
95
+ "design",
96
+ "graphics"
97
+ ],
98
+ "author": "humanbydefinition",
99
+ "license": "MIT",
100
+ "bugs": {
101
+ "url": "https://github.com/humanbydefinition/textmode.js/issues"
102
+ },
103
+ "homepage": "https://code.textmode.art",
104
+ "files": [
105
+ "dist"
106
+ ]
107
+ }