asciify-engine 4.21.0 → 4.23.0
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 +13 -0
- package/dist/{animation-presets-DztfFvTc.d.cts → animation-presets-CzM3jLT6.d.cts} +42 -28
- package/dist/{animation-presets-Bqupq1Gx.d.ts → animation-presets-a8WDzKDj.d.ts} +42 -28
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +5 -4
- package/dist/core.d.ts +5 -4
- package/dist/core.js +1 -1
- package/dist/field.cjs +1 -1
- package/dist/field.d.cts +10 -1
- package/dist/field.d.ts +10 -1
- package/dist/field.js +1 -1
- package/dist/{hover-guide-DKRQPtDO.d.cts → hover-catalog-CrmxlmUe.d.cts} +91 -85
- package/dist/{hover-guide-DKRQPtDO.d.ts → hover-catalog-CrmxlmUe.d.ts} +91 -85
- package/dist/hover-guide-DdFnAnfU.d.cts +9 -0
- package/dist/hover-guide-DdFnAnfU.d.ts +9 -0
- package/dist/hover.cjs +1 -1
- package/dist/hover.d.cts +8 -6
- package/dist/hover.d.ts +8 -6
- package/dist/hover.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +1 -1
- package/dist/kit.cjs +1 -1
- package/dist/kit.d.cts +1 -0
- package/dist/kit.d.ts +1 -0
- package/dist/kit.js +1 -1
- package/dist/{model-BNShxUhx.d.cts → model-C3TTmMXv.d.ts} +2 -1
- package/dist/{model-D2L86aNZ.d.ts → model-DAZNnqXr.d.cts} +2 -1
- package/dist/studio.cjs +1 -1
- package/dist/studio.d.cts +5 -4
- package/dist/studio.d.ts +5 -4
- package/dist/studio.js +1 -1
- package/dist/{types-Bmu4dXdQ.d.ts → types-BnakIXAU.d.ts} +2 -2
- package/dist/{types-Cn3wY-ST.d.cts → types-_8MohOZ1.d.cts} +2 -2
- package/package.json +1 -1
- package/skills/asciify-engine/SKILL.md +3 -3
- package/skills/asciify-engine/references/design-matching.md +1 -1
- package/skills/asciify-engine/references/glyph-field.md +2 -1
- package/skills/asciify-engine/references/kit.md +1 -1
- package/skills/asciify-engine/references/looks.md +2 -2
- package/skills/asciify-engine/references/studio-effects.md +30 -9
- package/skills/asciify-engine/references/studio-workspace.md +7 -8
- package/skills/asciify-engine/references/upgrading.md +6 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
type AmbientMotion = 'none' | '
|
|
1
|
+
type AmbientMotion = 'none' | 'relight' | 'sheen' | 'glow' | 'shimmer' | 'parallax' | 'push' | 'focus' | 'mist' | 'current' | 'develop';
|
|
2
|
+
/** Retired after 4.21: each still loads, as its closest photo-aware replacement. */
|
|
3
|
+
type LegacyAmbientMotion = 'caustics' | 'grain' | 'trace' | 'tidal' | 'weave' | 'breeze' | 'reform' | 'print' | 'unfold';
|
|
4
|
+
declare const DEPRECATED_MOTIONS: Readonly<Record<LegacyAmbientMotion, AmbientMotion>>;
|
|
2
5
|
declare const MOTION_STYLES: readonly [{
|
|
3
6
|
readonly value: "none";
|
|
4
7
|
readonly mode: "none";
|
|
@@ -6,89 +9,65 @@ declare const MOTION_STYLES: readonly [{
|
|
|
6
9
|
readonly label: "Off";
|
|
7
10
|
readonly description: "Keep the image still. Hover stays available.";
|
|
8
11
|
}, {
|
|
9
|
-
readonly value: "
|
|
10
|
-
readonly mode: "
|
|
11
|
-
readonly group: "Light
|
|
12
|
-
readonly label: "
|
|
13
|
-
readonly description: "
|
|
14
|
-
}, {
|
|
15
|
-
readonly value: "current";
|
|
16
|
-
readonly mode: "current";
|
|
17
|
-
readonly group: "Flow and depth";
|
|
18
|
-
readonly label: "Slow Current";
|
|
19
|
-
readonly description: "A gentle flow through the image, with steady edges.";
|
|
20
|
-
}, {
|
|
21
|
-
readonly value: "reform";
|
|
22
|
-
readonly mode: "reform";
|
|
23
|
-
readonly group: "Rebuild";
|
|
24
|
-
readonly label: "Reveal & Reform";
|
|
25
|
-
readonly description: "Disperse, gather, then hold the complete image.";
|
|
12
|
+
readonly value: "relight";
|
|
13
|
+
readonly mode: "relight";
|
|
14
|
+
readonly group: "Light";
|
|
15
|
+
readonly label: "Relight";
|
|
16
|
+
readonly description: "A key light circles the subject and models its own relief, like moving a lamp around a sculpture.";
|
|
26
17
|
}, {
|
|
27
18
|
readonly value: "sheen";
|
|
28
19
|
readonly mode: "sheen";
|
|
29
|
-
readonly group: "Light
|
|
30
|
-
readonly label: "
|
|
31
|
-
readonly description: "
|
|
32
|
-
}, {
|
|
33
|
-
readonly value: "
|
|
34
|
-
readonly mode: "
|
|
35
|
-
readonly group: "
|
|
36
|
-
readonly label: "
|
|
37
|
-
readonly description: "
|
|
38
|
-
}, {
|
|
39
|
-
readonly value: "
|
|
40
|
-
readonly mode: "
|
|
41
|
-
readonly group: "Light
|
|
42
|
-
readonly label: "
|
|
43
|
-
readonly description: "
|
|
20
|
+
readonly group: "Light";
|
|
21
|
+
readonly label: "Specular sweep";
|
|
22
|
+
readonly description: "One slow pass of light glances across the highlights and follows their form, then rests.";
|
|
23
|
+
}, {
|
|
24
|
+
readonly value: "glow";
|
|
25
|
+
readonly mode: "glow";
|
|
26
|
+
readonly group: "Light";
|
|
27
|
+
readonly label: "Highlight bloom";
|
|
28
|
+
readonly description: "The brightest areas breathe a soft halo into their surroundings. Shadows stay deep.";
|
|
29
|
+
}, {
|
|
30
|
+
readonly value: "shimmer";
|
|
31
|
+
readonly mode: "shimmer";
|
|
32
|
+
readonly group: "Light";
|
|
33
|
+
readonly label: "Glints";
|
|
34
|
+
readonly description: "Sparse glints on bright fine detail, like light on water, metal or an eye. Everything else holds still.";
|
|
44
35
|
}, {
|
|
45
36
|
readonly value: "parallax";
|
|
46
37
|
readonly mode: "parallax";
|
|
47
|
-
readonly group: "
|
|
38
|
+
readonly group: "Depth";
|
|
48
39
|
readonly label: "Parallax";
|
|
49
|
-
readonly description: "A
|
|
50
|
-
}, {
|
|
51
|
-
readonly value: "
|
|
52
|
-
readonly mode: "
|
|
53
|
-
readonly group: "
|
|
54
|
-
readonly label: "
|
|
55
|
-
readonly description: "
|
|
56
|
-
}, {
|
|
57
|
-
readonly value: "
|
|
58
|
-
readonly mode: "
|
|
59
|
-
readonly group: "
|
|
60
|
-
readonly label: "
|
|
61
|
-
readonly description: "
|
|
62
|
-
}, {
|
|
63
|
-
readonly value: "
|
|
64
|
-
readonly mode: "
|
|
65
|
-
readonly group: "
|
|
66
|
-
readonly label: "
|
|
67
|
-
readonly description: "
|
|
40
|
+
readonly description: "A slow camera drift: the subject moves against its background, read from the photo’s own depth cues.";
|
|
41
|
+
}, {
|
|
42
|
+
readonly value: "push";
|
|
43
|
+
readonly mode: "push";
|
|
44
|
+
readonly group: "Depth";
|
|
45
|
+
readonly label: "Slow push";
|
|
46
|
+
readonly description: "A gentle push toward the subject and back, with nearer areas moving slightly more.";
|
|
47
|
+
}, {
|
|
48
|
+
readonly value: "focus";
|
|
49
|
+
readonly mode: "focus";
|
|
50
|
+
readonly group: "Depth";
|
|
51
|
+
readonly label: "Focus pull";
|
|
52
|
+
readonly description: "Focus racks from the subject to the background and back; the characters soften out of focus.";
|
|
53
|
+
}, {
|
|
54
|
+
readonly value: "mist";
|
|
55
|
+
readonly mode: "mist";
|
|
56
|
+
readonly group: "Atmosphere";
|
|
57
|
+
readonly label: "Mist";
|
|
58
|
+
readonly description: "Soft mist drifts through the distance and plain areas, leaving the subject clear.";
|
|
68
59
|
}, {
|
|
69
|
-
readonly value: "
|
|
70
|
-
readonly mode: "
|
|
71
|
-
readonly group: "
|
|
72
|
-
readonly label: "
|
|
73
|
-
readonly description: "
|
|
74
|
-
}, {
|
|
75
|
-
readonly value: "
|
|
76
|
-
readonly mode: "
|
|
77
|
-
readonly group: "
|
|
78
|
-
readonly label: "
|
|
79
|
-
readonly description: "
|
|
80
|
-
}, {
|
|
81
|
-
readonly value: "breeze";
|
|
82
|
-
readonly mode: "breeze";
|
|
83
|
-
readonly group: "Flow and depth";
|
|
84
|
-
readonly label: "Breeze";
|
|
85
|
-
readonly description: "A traveling bend gently sways the image, like a print suspended in moving air.";
|
|
86
|
-
}, {
|
|
87
|
-
readonly value: "unfold";
|
|
88
|
-
readonly mode: "unfold";
|
|
89
|
-
readonly group: "Rebuild";
|
|
90
|
-
readonly label: "Unfold";
|
|
91
|
-
readonly description: "Narrow panels turn, soften and return to a complete image, with a readable hold between cycles.";
|
|
60
|
+
readonly value: "current";
|
|
61
|
+
readonly mode: "current";
|
|
62
|
+
readonly group: "Atmosphere";
|
|
63
|
+
readonly label: "Drift";
|
|
64
|
+
readonly description: "Water swells and glints, falls stream down, sky and clouds drift slowly, like a cinemagraph. Subjects and buildings hold still.";
|
|
65
|
+
}, {
|
|
66
|
+
readonly value: "develop";
|
|
67
|
+
readonly mode: "develop";
|
|
68
|
+
readonly group: "Reveal";
|
|
69
|
+
readonly label: "Develop";
|
|
70
|
+
readonly description: "The image holds, fades, then develops back in from its highlights to its shadows, like a print in the tray.";
|
|
92
71
|
}];
|
|
93
72
|
|
|
94
73
|
/** One public catalog for the hero, studio, documentation and integrations. */
|
|
@@ -199,13 +178,40 @@ declare const DEPRECATED_SURFACE_HOVERS: {
|
|
|
199
178
|
};
|
|
200
179
|
type DeprecatedSurfaceHover = keyof typeof DEPRECATED_SURFACE_HOVERS;
|
|
201
180
|
type SurfaceHover = typeof SURFACE_HOVERS[number]['value'];
|
|
181
|
+
/** Ranges, steps and defaults of the controls every hover shares, as the Studio and `mountHover` read them. */
|
|
182
|
+
declare const HOVER_CONTROLS: {
|
|
183
|
+
readonly radius: {
|
|
184
|
+
readonly label: "Hover size";
|
|
185
|
+
readonly min: 0.1;
|
|
186
|
+
readonly max: 1;
|
|
187
|
+
readonly step: 0.05;
|
|
188
|
+
readonly default: 0.2;
|
|
189
|
+
};
|
|
190
|
+
readonly strength: {
|
|
191
|
+
readonly label: "Hover strength";
|
|
192
|
+
readonly min: 0;
|
|
193
|
+
readonly max: 1;
|
|
194
|
+
readonly step: 0.05;
|
|
195
|
+
readonly default: 0.55;
|
|
196
|
+
};
|
|
197
|
+
readonly decay: {
|
|
198
|
+
readonly label: "Linger";
|
|
199
|
+
readonly min: 0;
|
|
200
|
+
readonly max: 1;
|
|
201
|
+
readonly step: 0.05;
|
|
202
|
+
readonly default: 0.5;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
/** The Studio's default hover. `mountHover` matches it, except that Trail starts with a wider radius (.45). */
|
|
206
|
+
declare const DEFAULT_HOVER: {
|
|
207
|
+
readonly effect: "trail";
|
|
208
|
+
readonly strength: 0.55;
|
|
209
|
+
readonly radius: 0.2;
|
|
210
|
+
readonly decay: 0.5;
|
|
211
|
+
readonly scope: "all";
|
|
212
|
+
readonly edgeSafe: false;
|
|
213
|
+
};
|
|
214
|
+
/** A current hover ID for any saved or legacy value, or undefined when it is unknown. */
|
|
215
|
+
declare function resolveSurfaceHover(value: unknown): SurfaceHover | undefined;
|
|
202
216
|
|
|
203
|
-
|
|
204
|
-
type HoverScope = 'all' | 'subject' | 'outside';
|
|
205
|
-
declare const HOVER_SCOPES: readonly {
|
|
206
|
-
value: HoverScope;
|
|
207
|
-
label: string;
|
|
208
|
-
description: string;
|
|
209
|
-
}[];
|
|
210
|
-
|
|
211
|
-
export { type AmbientMotion as A, type DeprecatedSurfaceHover as D, type HoverScope as H, MOTION_STYLES as M, type SurfaceHover as S, DEPRECATED_SURFACE_HOVERS as a, HOVER_SCOPES as b, SURFACE_HOVERS as c };
|
|
217
|
+
export { type AmbientMotion as A, type DeprecatedSurfaceHover as D, HOVER_CONTROLS as H, type LegacyAmbientMotion as L, MOTION_STYLES as M, type SurfaceHover as S, DEFAULT_HOVER as a, DEPRECATED_SURFACE_HOVERS as b, DEPRECATED_MOTIONS as c, SURFACE_HOVERS as d, resolveSurfaceHover as r };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Where a hover may act. `all` is the whole artwork; `subject` keeps it on the subject; `outside` keeps it off. */
|
|
2
|
+
type HoverScope = 'all' | 'subject' | 'outside';
|
|
3
|
+
declare const HOVER_SCOPES: readonly {
|
|
4
|
+
value: HoverScope;
|
|
5
|
+
label: string;
|
|
6
|
+
description: string;
|
|
7
|
+
}[];
|
|
8
|
+
|
|
9
|
+
export { type HoverScope as H, HOVER_SCOPES as a };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Where a hover may act. `all` is the whole artwork; `subject` keeps it on the subject; `outside` keeps it off. */
|
|
2
|
+
type HoverScope = 'all' | 'subject' | 'outside';
|
|
3
|
+
declare const HOVER_SCOPES: readonly {
|
|
4
|
+
value: HoverScope;
|
|
5
|
+
label: string;
|
|
6
|
+
description: string;
|
|
7
|
+
}[];
|
|
8
|
+
|
|
9
|
+
export { type HoverScope as H, HOVER_SCOPES as a };
|