asciify-engine 4.19.0 → 4.21.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 +14 -0
- package/dist/{animation-presets-ZujFF3i8.d.ts → animation-presets-Bqupq1Gx.d.ts} +1 -1
- package/dist/{animation-presets-DhswE0D_.d.cts → animation-presets-DztfFvTc.d.cts} +1 -1
- package/dist/core.d.cts +4 -4
- package/dist/core.d.ts +4 -4
- package/dist/field.cjs +1 -1
- package/dist/field.d.cts +3 -1
- package/dist/field.d.ts +3 -1
- package/dist/field.js +1 -1
- package/dist/{hover-catalog-D85jh6dR.d.cts → hover-guide-DKRQPtDO.d.cts} +46 -8
- package/dist/{hover-catalog-D85jh6dR.d.ts → hover-guide-DKRQPtDO.d.ts} +46 -8
- package/dist/hover.cjs +1 -1
- package/dist/hover.d.cts +13 -6
- package/dist/hover.d.ts +13 -6
- package/dist/hover.js +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/kit.cjs +1 -1
- package/dist/kit.d.cts +10 -7
- package/dist/kit.d.ts +10 -7
- package/dist/kit.js +1 -1
- package/dist/{model-DXHhQhxP.d.ts → model-BNShxUhx.d.cts} +11 -2
- package/dist/{model-9SbRVqqI.d.cts → model-D2L86aNZ.d.ts} +11 -2
- package/dist/studio.cjs +1 -1
- package/dist/studio.d.cts +4 -4
- package/dist/studio.d.ts +4 -4
- package/dist/studio.js +1 -1
- package/dist/{types-CM4452nD.d.ts → types-Bmu4dXdQ.d.ts} +1 -1
- package/dist/{types-FkqhgDYx.d.cts → types-Cn3wY-ST.d.cts} +1 -1
- package/package.json +1 -1
- package/skills/asciify-engine/SKILL.md +7 -7
- package/skills/asciify-engine/references/applying-asciify.md +2 -2
- package/skills/asciify-engine/references/components.md +2 -2
- package/skills/asciify-engine/references/design-matching.md +2 -1
- package/skills/asciify-engine/references/glyph-field.md +1 -1
- package/skills/asciify-engine/references/hero-finish.md +3 -0
- package/skills/asciify-engine/references/kit.md +3 -4
- package/skills/asciify-engine/references/looks.md +403 -71
- package/skills/asciify-engine/references/studio-effects.md +54 -20
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AmbientMotion, S as SurfaceHover } from './hover-
|
|
1
|
+
import { A as AmbientMotion, S as SurfaceHover, H as HoverScope, D as DeprecatedSurfaceHover } from './hover-guide-DKRQPtDO.cjs';
|
|
2
2
|
|
|
3
3
|
/** Input/output coordinates use 0–1. Curves have at most 16 points, including endpoints. */
|
|
4
4
|
type StudioCurvePoint = [number, number];
|
|
@@ -245,6 +245,10 @@ interface StudioSettings {
|
|
|
245
245
|
strength: number;
|
|
246
246
|
radius: number;
|
|
247
247
|
edgeSafe: boolean;
|
|
248
|
+
/** Where the hover acts: the whole artwork, only the subject, or only the ground around it. Default `all`. */
|
|
249
|
+
scope?: HoverScope;
|
|
250
|
+
/** 0..1 how long the effect lingers once the pointer moves on or leaves. Default .5. */
|
|
251
|
+
decay?: number;
|
|
248
252
|
};
|
|
249
253
|
}
|
|
250
254
|
declare const DEFAULT_STUDIO_SETTINGS: StudioSettings;
|
|
@@ -264,7 +268,12 @@ declare function studioCrop(sw: number, sh: number, w: number, h: number, c: Stu
|
|
|
264
268
|
declare function studioDimensions(width: number, height: number, settings: StudioSettings): [number, number];
|
|
265
269
|
/** Partial configuration for mounting and incremental updates. Arrays replace previous arrays. */
|
|
266
270
|
type StudioInput = {
|
|
267
|
-
[K in keyof StudioSettings]?: StudioSettings[K] extends readonly unknown[] ? StudioSettings[K] : StudioSettings[K] extends object ? Partial<StudioSettings[K]> : StudioSettings[K];
|
|
271
|
+
[K in Exclude<keyof StudioSettings, "hover">]?: StudioSettings[K] extends readonly unknown[] ? StudioSettings[K] : StudioSettings[K] extends object ? Partial<StudioSettings[K]> : StudioSettings[K];
|
|
272
|
+
} & {
|
|
273
|
+
/** Retired effect IDs are accepted and play their closest current effect. */
|
|
274
|
+
hover?: Partial<Omit<StudioSettings["hover"], "effect">> & {
|
|
275
|
+
effect?: SurfaceHover | DeprecatedSurfaceHover;
|
|
276
|
+
};
|
|
268
277
|
};
|
|
269
278
|
declare function updateStudioSettings(current: StudioSettings, patch: StudioInput): StudioSettings;
|
|
270
279
|
/** Effective grid and usable cell-size range at a bounded render resolution.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AmbientMotion, S as SurfaceHover } from './hover-
|
|
1
|
+
import { A as AmbientMotion, S as SurfaceHover, H as HoverScope, D as DeprecatedSurfaceHover } from './hover-guide-DKRQPtDO.js';
|
|
2
2
|
|
|
3
3
|
/** Input/output coordinates use 0–1. Curves have at most 16 points, including endpoints. */
|
|
4
4
|
type StudioCurvePoint = [number, number];
|
|
@@ -245,6 +245,10 @@ interface StudioSettings {
|
|
|
245
245
|
strength: number;
|
|
246
246
|
radius: number;
|
|
247
247
|
edgeSafe: boolean;
|
|
248
|
+
/** Where the hover acts: the whole artwork, only the subject, or only the ground around it. Default `all`. */
|
|
249
|
+
scope?: HoverScope;
|
|
250
|
+
/** 0..1 how long the effect lingers once the pointer moves on or leaves. Default .5. */
|
|
251
|
+
decay?: number;
|
|
248
252
|
};
|
|
249
253
|
}
|
|
250
254
|
declare const DEFAULT_STUDIO_SETTINGS: StudioSettings;
|
|
@@ -264,7 +268,12 @@ declare function studioCrop(sw: number, sh: number, w: number, h: number, c: Stu
|
|
|
264
268
|
declare function studioDimensions(width: number, height: number, settings: StudioSettings): [number, number];
|
|
265
269
|
/** Partial configuration for mounting and incremental updates. Arrays replace previous arrays. */
|
|
266
270
|
type StudioInput = {
|
|
267
|
-
[K in keyof StudioSettings]?: StudioSettings[K] extends readonly unknown[] ? StudioSettings[K] : StudioSettings[K] extends object ? Partial<StudioSettings[K]> : StudioSettings[K];
|
|
271
|
+
[K in Exclude<keyof StudioSettings, "hover">]?: StudioSettings[K] extends readonly unknown[] ? StudioSettings[K] : StudioSettings[K] extends object ? Partial<StudioSettings[K]> : StudioSettings[K];
|
|
272
|
+
} & {
|
|
273
|
+
/** Retired effect IDs are accepted and play their closest current effect. */
|
|
274
|
+
hover?: Partial<Omit<StudioSettings["hover"], "effect">> & {
|
|
275
|
+
effect?: SurfaceHover | DeprecatedSurfaceHover;
|
|
276
|
+
};
|
|
268
277
|
};
|
|
269
278
|
declare function updateStudioSettings(current: StudioSettings, patch: StudioInput): StudioSettings;
|
|
270
279
|
/** Effective grid and usable cell-size range at a bounded render resolution.
|