@hyperframes/core 0.8.172 → 0.8.173
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/dist/colorGrading.d.ts
CHANGED
|
@@ -290,7 +290,17 @@ export declare function getHfColorGradingCapabilities(): {
|
|
|
290
290
|
label: string;
|
|
291
291
|
intensity: number;
|
|
292
292
|
}[];
|
|
293
|
-
|
|
293
|
+
example: {
|
|
294
|
+
readonly adjust: {
|
|
295
|
+
readonly exposure: 0.1;
|
|
296
|
+
readonly contrast: 0.05;
|
|
297
|
+
readonly temperature: 0.08;
|
|
298
|
+
};
|
|
299
|
+
readonly details: {
|
|
300
|
+
readonly vignette: 0.15;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
adjust: {
|
|
294
304
|
min: number;
|
|
295
305
|
max: number;
|
|
296
306
|
key: "exposure" | "contrast" | "highlights" | "shadows" | "whites" | "blacks" | "temperature" | "tint" | "vibrance" | "saturation";
|
|
@@ -442,7 +452,7 @@ export declare function getHfColorGradingCapabilities(): {
|
|
|
442
452
|
readonly label: "Art";
|
|
443
453
|
readonly description: "ASCII, engraved, crosshatched, and painterly rendering.";
|
|
444
454
|
}];
|
|
445
|
-
|
|
455
|
+
details: {
|
|
446
456
|
min: number;
|
|
447
457
|
max: number;
|
|
448
458
|
key: "vignette" | "vignetteMidpoint" | "vignetteRoundness" | "vignetteFeather" | "grain" | "grainSize" | "grainRoughness";
|
package/dist/colorGrading.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_MAX_CUBE_LUT_SIZE } from "./colorLuts.js";
|
|
2
|
-
import { COLOR_GRADING_ADJUST_KEYS, COLOR_GRADING_ADVANCED_LIMITS, COLOR_GRADING_COLOR_SPACE, COLOR_GRADING_CONTRACT_VERSION, COLOR_GRADING_CURVE_KEYS, COLOR_GRADING_DETAIL_KEYS, COLOR_GRADING_EFFECT_KEYS, COLOR_GRADING_HUE_CURVE_KEYS, COLOR_GRADING_LUT_KEYS, COLOR_GRADING_MAX_CURVE_POINTS, COLOR_GRADING_MAX_SECONDARIES, COLOR_GRADING_TOP_LEVEL_KEYS, COLOR_GRADING_WHEEL_KEYS, } from "@hyperframes/parsers/color-grading-contract";
|
|
2
|
+
import { COLOR_GRADING_ADJUST_KEYS, COLOR_GRADING_EXAMPLE, COLOR_GRADING_ADVANCED_LIMITS, COLOR_GRADING_COLOR_SPACE, COLOR_GRADING_CONTRACT_VERSION, COLOR_GRADING_CURVE_KEYS, COLOR_GRADING_DETAIL_KEYS, COLOR_GRADING_EFFECT_KEYS, COLOR_GRADING_HUE_CURVE_KEYS, COLOR_GRADING_LUT_KEYS, COLOR_GRADING_MAX_CURVE_POINTS, COLOR_GRADING_MAX_SECONDARIES, COLOR_GRADING_TOP_LEVEL_KEYS, COLOR_GRADING_WHEEL_KEYS, } from "@hyperframes/parsers/color-grading-contract";
|
|
3
3
|
export { compileHfColorCurve, compileHfHueCurve, HF_COLOR_CURVE_MAX_POINTS, } from "./colorGradingCurves.js";
|
|
4
4
|
export const HF_COLOR_GRADING_ATTR = "data-color-grading";
|
|
5
5
|
// Runtime <-> studio contract attributes. The runtime grading engine writes
|
|
@@ -657,7 +657,8 @@ export function getHfColorGradingCapabilities() {
|
|
|
657
657
|
label: preset.label,
|
|
658
658
|
intensity: preset.intensity,
|
|
659
659
|
})),
|
|
660
|
-
|
|
660
|
+
example: COLOR_GRADING_EXAMPLE,
|
|
661
|
+
adjust: HF_COLOR_GRADING_ADJUST_KEYS.map((key) => ({
|
|
661
662
|
key,
|
|
662
663
|
identity: ADJUST_ZERO[key],
|
|
663
664
|
...ADJUST_LIMITS[key],
|
|
@@ -728,7 +729,7 @@ export function getHfColorGradingCapabilities() {
|
|
|
728
729
|
},
|
|
729
730
|
},
|
|
730
731
|
effectFamilies: EFFECT_FAMILIES,
|
|
731
|
-
|
|
732
|
+
details: HF_COLOR_GRADING_DETAIL_KEYS.map((key) => ({
|
|
732
733
|
key,
|
|
733
734
|
identity: DETAIL_DEFAULTS[key],
|
|
734
735
|
...DETAIL_LIMITS[key],
|