@shulya/liquid-glass 1.0.0 → 1.0.2

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/src/index.js DELETED
@@ -1,15 +0,0 @@
1
- export {
2
- LiquidGlassController,
3
- createLiquidGlass,
4
- scheduleStageRedraw,
5
- OPTICAL_DEFAULTS,
6
- OPTICAL_LIMITS,
7
- normalizeOptions,
8
- buildOpticalMapURI,
9
- buildElementLUT,
10
- renderFusedCluster,
11
- blendSurfaces,
12
- sampleTable
13
- } from './core.js';
14
-
15
- export { _T0, _T1, _T2, _T3, _T4 } from './tables.js';
package/src/react.js DELETED
@@ -1,106 +0,0 @@
1
- /**
2
- * React Adapter for Liquid Glass UI
3
- */
4
- import React, { useEffect, useRef, useCallback, forwardRef } from 'react';
5
- import { LiquidGlassController, OPTICAL_DEFAULTS } from './core.js';
6
-
7
- /**
8
- * React Hook to turn any ref element into a Liquid Glass block
9
- */
10
- export function useLiquidGlass(options = {}) {
11
- const ref = useRef(null);
12
- const controllerRef = useRef(null);
13
-
14
- useEffect(() => {
15
- if (!ref.current) return;
16
- controllerRef.current = new LiquidGlassController(ref.current, options);
17
- return () => {
18
- if (controllerRef.current) {
19
- controllerRef.current.destroy();
20
- controllerRef.current = null;
21
- }
22
- };
23
- }, []);
24
-
25
- useEffect(() => {
26
- if (controllerRef.current) {
27
- controllerRef.current.update({
28
- rim: options.rim,
29
- ior: options.ior,
30
- height: options.height,
31
- frosted: options.frosted,
32
- fusion: options.fusion,
33
- enabled: options.enabled
34
- });
35
- }
36
- }, [
37
- options.rim,
38
- options.ior,
39
- options.height,
40
- options.frosted,
41
- options.fusion,
42
- options.enabled
43
- ]);
44
-
45
- return ref;
46
- }
47
-
48
- /**
49
- * <LiquidGlass> React Component
50
- */
51
- export const LiquidGlass = forwardRef(function LiquidGlass(
52
- {
53
- rim = OPTICAL_DEFAULTS.rim,
54
- ior = OPTICAL_DEFAULTS.ior,
55
- height = OPTICAL_DEFAULTS.height,
56
- frosted = OPTICAL_DEFAULTS.frosted,
57
- fusion = OPTICAL_DEFAULTS.fusion,
58
- enabled = true,
59
- as: Component = 'div',
60
- style,
61
- className,
62
- children,
63
- ...rest
64
- },
65
- externalRef
66
- ) {
67
- const internalRef = useLiquidGlass({
68
- rim,
69
- ior,
70
- height,
71
- frosted,
72
- fusion,
73
- enabled
74
- });
75
-
76
- const setRefs = useCallback(
77
- (node) => {
78
- internalRef.current = node;
79
- if (typeof externalRef === 'function') {
80
- externalRef(node);
81
- } else if (externalRef) {
82
- externalRef.current = node;
83
- }
84
- },
85
- [externalRef, internalRef]
86
- );
87
-
88
- return React.createElement(
89
- Component,
90
- {
91
- ref: setRefs,
92
- className,
93
- style,
94
- ...rest
95
- },
96
- children
97
- );
98
- });
99
-
100
- export {
101
- LiquidGlassController,
102
- OPTICAL_DEFAULTS,
103
- OPTICAL_LIMITS,
104
- scheduleStageRedraw
105
- } from './core.js';
106
- export default LiquidGlass;
package/src/solid.js DELETED
@@ -1,80 +0,0 @@
1
- /**
2
- * SolidJS Adapter for Liquid Glass UI (use:liquidGlass Directive + Component)
3
- */
4
- import { createEffect, onCleanup } from 'solid-js';
5
- import { LiquidGlassController, OPTICAL_DEFAULTS, OPTICAL_LIMITS } from './core.js';
6
-
7
- /**
8
- * SolidJS Directive:
9
- * <div use:liquidGlass={() => ({ rim: rim(), ior: ior(), height: height(), frosted: frosted(), fusion: fusion() })}>...</div>
10
- *
11
- * @param {HTMLElement} el
12
- * @param {() => Object | Object} accessor
13
- */
14
- export function liquidGlass(el, accessor) {
15
- const initialOpts = typeof accessor === 'function' ? accessor() : accessor || {};
16
- const controller = new LiquidGlassController(el, initialOpts);
17
-
18
- createEffect(() => {
19
- const nextOpts = typeof accessor === 'function' ? accessor() : accessor || {};
20
- controller.update(nextOpts);
21
- });
22
-
23
- onCleanup(() => {
24
- controller.destroy();
25
- });
26
-
27
- return controller;
28
- }
29
-
30
- /**
31
- * SolidJS <LiquidGlass> Component
32
- */
33
- export function LiquidGlass(props) {
34
- let elRef;
35
- let controller = null;
36
-
37
- createEffect(() => {
38
- const opts = {
39
- rim: props.rim ?? OPTICAL_DEFAULTS.rim,
40
- ior: props.ior ?? OPTICAL_DEFAULTS.ior,
41
- height: props.height ?? OPTICAL_DEFAULTS.height,
42
- frosted: props.frosted ?? OPTICAL_DEFAULTS.frosted,
43
- fusion: props.fusion ?? OPTICAL_DEFAULTS.fusion,
44
- borderRadius: props.borderRadius ?? null
45
- };
46
-
47
- if (!controller && elRef) {
48
- controller = new LiquidGlassController(elRef, opts);
49
- } else if (controller) {
50
- controller.update(opts);
51
- }
52
- });
53
-
54
- onCleanup(() => {
55
- if (controller) {
56
- controller.destroy();
57
- controller = null;
58
- }
59
- });
60
-
61
- return {
62
- ref(node) {
63
- elRef = node;
64
- if (node && !controller) {
65
- controller = new LiquidGlassController(node, {
66
- rim: props.rim ?? OPTICAL_DEFAULTS.rim,
67
- ior: props.ior ?? OPTICAL_DEFAULTS.ior,
68
- height: props.height ?? OPTICAL_DEFAULTS.height,
69
- frosted: props.frosted ?? OPTICAL_DEFAULTS.frosted,
70
- fusion: props.fusion ?? OPTICAL_DEFAULTS.fusion,
71
- borderRadius: props.borderRadius ?? null
72
- });
73
- }
74
- if (typeof props.ref === 'function') props.ref(node);
75
- }
76
- };
77
- }
78
-
79
- export { LiquidGlassController, OPTICAL_DEFAULTS, OPTICAL_LIMITS };
80
- export default liquidGlass;
package/src/svelte.js DELETED
@@ -1,27 +0,0 @@
1
- /**
2
- * Svelte Adapter for Liquid Glass UI (use:liquidGlass Action + Helper)
3
- */
4
- import { LiquidGlassController, OPTICAL_DEFAULTS, OPTICAL_LIMITS } from './core.js';
5
-
6
- /**
7
- * Svelte Action:
8
- * <div use:liquidGlass={{ rim: 16, ior: 1.46, height: 18, frosted: 0, fusion: true }}>...</div>
9
- *
10
- * @param {HTMLElement} node
11
- * @param {Object} options
12
- */
13
- export function liquidGlass(node, options = {}) {
14
- const controller = new LiquidGlassController(node, options);
15
-
16
- return {
17
- update(newOptions = {}) {
18
- controller.update(newOptions);
19
- },
20
- destroy() {
21
- controller.destroy();
22
- }
23
- };
24
- }
25
-
26
- export { LiquidGlassController, OPTICAL_DEFAULTS, OPTICAL_LIMITS };
27
- export default liquidGlass;
package/src/tables.js DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * Pre-computed Empirical Optical Calibration Tables (256-point Float32 LUTs)
3
- * Exported directly from tables/optical_calibration_matrix.xlsx
4
- */
5
-
6
- export const _T0 = /*#__PURE__*/ new Float32Array([2.8, 2.799828, 2.799314, 2.798459, 2.797266, 2.795737, 2.793875, 2.791681, 2.789157, 2.786307, 2.783133, 2.779637, 2.775821, 2.771688, 2.767241, 2.762482, 2.757414, 2.75204, 2.746362, 2.740383, 2.734106, 2.727534, 2.72067, 2.713516, 2.706075, 2.698351, 2.690347, 2.682065, 2.673508, 2.66468, 2.655584, 2.646223, 2.6366, 2.626719, 2.616582, 2.606193, 2.595555, 2.584672, 2.573546, 2.562182, 2.550582, 2.538751, 2.526691, 2.514406, 2.501899, 2.489175, 2.476236, 2.463086, 2.449728, 2.436167, 2.422406, 2.408448, 2.394297, 2.379957, 2.365432, 2.350724, 2.335838, 2.320778, 2.305547, 2.290149, 2.274588, 2.258867, 2.242991, 2.226963, 2.210786, 2.194465, 2.178003, 2.161405, 2.144674, 2.127813, 2.110828, 2.09372, 2.076496, 2.059157, 2.041709, 2.024154, 2.006498, 1.988742, 1.970893, 1.952952, 1.934925, 1.916815, 1.898626, 1.880361, 1.862025, 1.843621, 1.825154, 1.806626, 1.788043, 1.769407, 1.750723, 1.731993, 1.713223, 1.694416, 1.675575, 1.656705, 1.637809, 1.61889, 1.599953, 1.581002, 1.562039, 1.54307, 1.524096, 1.505122, 1.486153, 1.46719, 1.448238, 1.429301, 1.410382, 1.391484, 1.372611, 1.353767, 1.334956, 1.316179, 1.297442, 1.278747, 1.260098, 1.241498, 1.222951, 1.20446, 1.186028, 1.167658, 1.149354, 1.131119, 1.112957, 1.094869, 1.07686, 1.058932, 1.041089, 1.023334, 1.005669, 0.988098, 0.970623, 0.953248, 0.935976, 0.918808, 0.901748, 0.8848, 0.867964, 0.851245, 0.834644, 0.818165, 0.80181, 0.785582, 0.769483, 0.753515, 0.737681, 0.721983, 0.706423, 0.691005, 0.67573, 0.6606, 0.645617, 0.630784, 0.616102, 0.601575, 0.587202, 0.572987, 0.558931, 0.545037, 0.531305, 0.517738, 0.504337, 0.491103, 0.47804, 0.465147, 0.452426, 0.439879, 0.427507, 0.415311, 0.403292, 0.391452, 0.379792, 0.368313, 0.357015, 0.3459, 0.334969, 0.324222, 0.313659, 0.303283, 0.293093, 0.28309, 0.273274, 0.263645, 0.254205, 0.244954, 0.235891, 0.227016, 0.218331, 0.209834, 0.201526, 0.193407, 0.185476, 0.177733, 0.170178, 0.162811, 0.15563, 0.148636, 0.141828, 0.135204, 0.128765, 0.122509, 0.116436, 0.110544, 0.104832, 0.099299, 0.093945, 0.088766, 0.083763, 0.078934, 0.074276, 0.069789, 0.065471, 0.061319, 0.057333, 0.053509, 0.049846, 0.046341, 0.042993, 0.039799, 0.036757, 0.033864, 0.031117, 0.028514, 0.026052, 0.023727, 0.021539, 0.019482, 0.017554, 0.015751, 0.014071, 0.01251, 0.011064, 0.009729, 0.008503, 0.00738, 0.006358, 0.005432, 0.004598, 0.003852, 0.003189, 0.002605, 0.002096, 0.001656, 0.001282, 0.000967, 0.000709, 0.0005, 0.000336, 0.000213, 0.000124, 6.4e-05, 2.7e-05, 8e-06, 1e-06, 0.0]);
7
-
8
- export const _T1 = /*#__PURE__*/ new Float32Array([155.0, 148.3395, 141.9652, 135.86482, 130.02657, 124.4392, 119.09193, 113.97443, 109.07684, 104.3897, 99.90397, 95.611, 91.5025, 87.57055, 83.80755, 80.20626, 76.75972, 73.46128, 70.30458, 67.28352, 64.39228, 61.62528, 58.97718, 56.44287, 54.01747, 51.69628, 49.47484, 47.34886, 45.31423, 43.36704, 41.50351, 39.72007, 38.01326, 36.37979, 34.81651, 33.32041, 31.8886, 30.51832, 29.20692, 27.95187, 26.75075, 25.60124, 24.50113, 23.44829, 22.4407, 21.4764, 20.55354, 19.67033, 18.82508, 18.01614, 17.24197, 16.50107, 15.792, 15.1134, 14.46397, 13.84243, 13.24761, 12.67835, 12.13355, 11.61216, 11.11317, 10.63563, 10.1786, 9.74122, 9.32263, 8.92203, 8.53864, 8.17172, 7.82058, 7.48452, 7.1629, 6.85511, 6.56054, 6.27862, 6.00882, 5.75062, 5.50351, 5.26702, 5.04069, 4.82409, 4.61679, 4.4184, 4.22854, 4.04683, 3.87294, 3.70651, 3.54724, 3.39481, 3.24893, 3.10932, 2.97571, 2.84784, 2.72547, 2.60835, 2.49627, 2.389, 2.28635, 2.1881, 2.09407, 2.00409, 1.91797, 1.83555, 1.75668, 1.68119, 1.60895, 1.53981, 1.47364, 1.41032, 1.34972, 1.29172, 1.23621, 1.18309, 1.13225, 1.0836, 1.03704, 0.99247, 0.94983, 0.90901, 0.86995, 0.83257, 0.79679, 0.76255, 0.72978, 0.69842, 0.66841, 0.63969, 0.6122, 0.5859, 0.56072, 0.53662, 0.51356, 0.4915, 0.47038, 0.45016, 0.43082, 0.41231, 0.39459, 0.37763, 0.36141, 0.34588, 0.33101, 0.31679, 0.30318, 0.29015, 0.27768, 0.26575, 0.25433, 0.2434, 0.23294, 0.22293, 0.21335, 0.20418, 0.19541, 0.18701, 0.17898, 0.17129, 0.16393, 0.15688, 0.15014, 0.14369, 0.13751, 0.13161, 0.12595, 0.12054, 0.11536, 0.1104, 0.10566, 0.10112, 0.09677, 0.09261, 0.08863, 0.08483, 0.08118, 0.07769, 0.07435, 0.07116, 0.0681, 0.06517, 0.06237, 0.05969, 0.05713, 0.05467, 0.05232, 0.05008, 0.04792, 0.04586, 0.04389, 0.04201, 0.0402, 0.03847, 0.03682, 0.03524, 0.03372, 0.03228, 0.03089, 0.02956, 0.02829, 0.02708, 0.02591, 0.0248, 0.02373, 0.02271, 0.02174, 0.0208, 0.01991, 0.01905, 0.01823, 0.01745, 0.0167, 0.01598, 0.0153, 0.01464, 0.01401, 0.01341, 0.01283, 0.01228, 0.01175, 0.01125, 0.01076, 0.0103, 0.00986, 0.00944, 0.00903, 0.00864, 0.00827, 0.00792, 0.00758, 0.00725, 0.00694, 0.00664, 0.00635, 0.00608, 0.00582, 0.00557, 0.00533, 0.0051, 0.00488, 0.00467, 0.00447, 0.00428, 0.0041, 0.00392, 0.00375, 0.00359, 0.00344, 0.00329, 0.00315, 0.00301, 0.00288, 0.00276, 0.00264, 0.00253, 0.00242, 0.00231, 0.00221, 0.00212]);
9
-
10
- export const _T2 = /*#__PURE__*/ new Float32Array([32.0, 31.500984, 31.007828, 30.520484, 30.038908, 29.563054, 29.092875, 28.628328, 28.169366, 27.715945, 27.268019, 26.825545, 26.388479, 25.956774, 25.530389, 25.109278, 24.693398, 24.282706, 23.877158, 23.476712, 23.081323, 22.69095, 22.30555, 21.92508, 21.549499, 21.178763, 20.812832, 20.451664, 20.095216, 19.743449, 19.396319, 19.053788, 18.715813, 18.382355, 18.053373, 17.728826, 17.408675, 17.09288, 16.7814, 16.474197, 16.171232, 15.872464, 15.577855, 15.287367, 15.000961, 14.718598, 14.44024, 14.165849, 13.895387, 13.628816, 13.3661, 13.1072, 12.85208, 12.600702, 12.35303, 12.109027, 11.868657, 11.631883, 11.398669, 11.168981, 10.942781, 10.720034, 10.500706, 10.28476, 10.072163, 9.862878, 9.656872, 9.45411, 9.254558, 9.058182, 8.864948, 8.674822, 8.48777, 8.30376, 8.122759, 7.944732, 7.769649, 7.597475, 7.428178, 7.261727, 7.098089, 6.937232, 6.779125, 6.623736, 6.471034, 6.320988, 6.173566, 6.028738, 5.886473, 5.746741, 5.609511, 5.474754, 5.34244, 5.212539, 5.085021, 4.959857, 4.837019, 4.716476, 4.5982, 4.482163, 4.368336, 4.256691, 4.1472, 4.039835, 3.934568, 3.831372, 3.730219, 3.631083, 3.533935, 3.438751, 3.345502, 3.254162, 3.164706, 3.077107, 2.99134, 2.907377, 2.825195, 2.744768, 2.66607, 2.589077, 2.513763, 2.440105, 2.368077, 2.297656, 2.228817, 2.161537, 2.095792, 2.031558, 1.968812, 1.90753, 1.847691, 1.78927, 1.732247, 1.676597, 1.622298, 1.56933, 1.517669, 1.467294, 1.418184, 1.370318, 1.323673, 1.278229, 1.233966, 1.190862, 1.148897, 1.108052, 1.068305, 1.029637, 0.992029, 0.95546, 0.919912, 0.885366, 0.851801, 0.8192, 0.787544, 0.756814, 0.726993, 0.698061, 0.670002, 0.642798, 0.61643, 0.590882, 0.566136, 0.542176, 0.518985, 0.496546, 0.474842, 0.453858, 0.433577, 0.413984, 0.395062, 0.376796, 0.359171, 0.342172, 0.325784, 0.309991, 0.29478, 0.280135, 0.266043, 0.25249, 0.239461, 0.226943, 0.214922, 0.203385, 0.192319, 0.181711, 0.171548, 0.161817, 0.152507, 0.143603, 0.135096, 0.126972, 0.119221, 0.111829, 0.104787, 0.098083, 0.091706, 0.085645, 0.079889, 0.074429, 0.069253, 0.064352, 0.059716, 0.055335, 0.0512, 0.047301, 0.043629, 0.040175, 0.03693, 0.033886, 0.031034, 0.028366, 0.025874, 0.02355, 0.021386, 0.019374, 0.017508, 0.015781, 0.014184, 0.012712, 0.011357, 0.010114, 0.008975, 0.007936, 0.006989, 0.00613, 0.005353, 0.004652, 0.004022, 0.003458, 0.002956, 0.002511, 0.002118, 0.001773, 0.001472, 0.001211, 0.000986, 0.000794, 0.000632, 0.000496, 0.000383, 0.000291, 0.000216, 0.000157, 0.000111, 7.6e-05, 5e-05, 3.1e-05, 1.8e-05, 1e-05, 5e-06, 2e-06, 1e-06, 0.0, 0.0, 0.0]);
11
-
12
- export const _T3 = /*#__PURE__*/ new Float32Array([0.25, 0.248043, 0.246094, 0.244152, 0.242218, 0.240292, 0.238374, 0.236463, 0.23456, 0.232664, 0.230777, 0.228897, 0.227024, 0.22516, 0.223303, 0.221453, 0.219612, 0.217778, 0.215952, 0.214133, 0.212322, 0.210519, 0.208724, 0.206936, 0.205156, 0.203383, 0.201619, 0.199862, 0.198112, 0.196371, 0.194637, 0.19291, 0.191192, 0.189481, 0.187778, 0.186082, 0.184394, 0.182714, 0.181042, 0.179377, 0.17772, 0.176071, 0.174429, 0.172795, 0.171169, 0.16955, 0.167939, 0.166336, 0.16474, 0.163153, 0.161572, 0.16, 0.158435, 0.156878, 0.155329, 0.153787, 0.152253, 0.150727, 0.149208, 0.147697, 0.146194, 0.144698, 0.14321, 0.14173, 0.140258, 0.138793, 0.137336, 0.135886, 0.134444, 0.13301, 0.131584, 0.130165, 0.128754, 0.127351, 0.125955, 0.124567, 0.123187, 0.121815, 0.12045, 0.119093, 0.117743, 0.116401, 0.115067, 0.113741, 0.112422, 0.111111, 0.109808, 0.108512, 0.107224, 0.105944, 0.104671, 0.103406, 0.102149, 0.1009, 0.099658, 0.098424, 0.097197, 0.095978, 0.094767, 0.093564, 0.092368, 0.09118, 0.09, 0.088827, 0.087662, 0.086505, 0.085356, 0.084214, 0.08308, 0.081953, 0.080834, 0.079723, 0.07862, 0.077524, 0.076436, 0.075356, 0.074283, 0.073218, 0.072161, 0.071111, 0.070069, 0.069035, 0.068008, 0.06699, 0.065978, 0.064975, 0.063979, 0.062991, 0.062011, 0.061038, 0.060073, 0.059116, 0.058166, 0.057224, 0.05629, 0.055363, 0.054444, 0.053533, 0.05263, 0.051734, 0.050846, 0.049965, 0.049093, 0.048228, 0.04737, 0.046521, 0.045679, 0.044844, 0.044018, 0.043199, 0.042388, 0.041584, 0.040788, 0.04, 0.03922, 0.038447, 0.037682, 0.036924, 0.036175, 0.035433, 0.034698, 0.033972, 0.033253, 0.032541, 0.031838, 0.031142, 0.030454, 0.029773, 0.0291, 0.028435, 0.027778, 0.027128, 0.026486, 0.025852, 0.025225, 0.024606, 0.023995, 0.023391, 0.022795, 0.022207, 0.021626, 0.021053, 0.020488, 0.019931, 0.019381, 0.018839, 0.018304, 0.017778, 0.017259, 0.016747, 0.016244, 0.015748, 0.01526, 0.014779, 0.014306, 0.013841, 0.013383, 0.012933, 0.012491, 0.012057, 0.01163, 0.011211, 0.0108, 0.010396, 0.01, 0.009612, 0.009231, 0.008858, 0.008493, 0.008135, 0.007785, 0.007443, 0.007109, 0.006782, 0.006463, 0.006151, 0.005848, 0.005552, 0.005263, 0.004983, 0.00471, 0.004444, 0.004187, 0.003937, 0.003695, 0.00346, 0.003233, 0.003014, 0.002803, 0.002599, 0.002403, 0.002215, 0.002034, 0.001861, 0.001696, 0.001538, 0.001388, 0.001246, 0.001111, 0.000984, 0.000865, 0.000754, 0.00065, 0.000554, 0.000465, 0.000384, 0.000311, 0.000246, 0.000188, 0.000138, 9.6e-05, 6.2e-05, 3.5e-05, 1.5e-05, 4e-06, 0.0]);
13
-
14
- export const _T4 = /*#__PURE__*/ new Float32Array([0.022, 0.021999, 0.021995, 0.021988, 0.021979, 0.021967, 0.021952, 0.021935, 0.021915, 0.021892, 0.021867, 0.02184, 0.02181, 0.021778, 0.021743, 0.021705, 0.021665, 0.021623, 0.021579, 0.021532, 0.021482, 0.021431, 0.021377, 0.02132, 0.021262, 0.021201, 0.021138, 0.021073, 0.021006, 0.020937, 0.020865, 0.020792, 0.020716, 0.020639, 0.020559, 0.020477, 0.020394, 0.020308, 0.020221, 0.020131, 0.02004, 0.019947, 0.019853, 0.019756, 0.019658, 0.019558, 0.019456, 0.019353, 0.019248, 0.019141, 0.019033, 0.018924, 0.018812, 0.0187, 0.018586, 0.01847, 0.018353, 0.018235, 0.018115, 0.017994, 0.017872, 0.017748, 0.017624, 0.017498, 0.01737, 0.017242, 0.017113, 0.016982, 0.016851, 0.016719, 0.016585, 0.016451, 0.016315, 0.016179, 0.016042, 0.015904, 0.015765, 0.015626, 0.015486, 0.015345, 0.015203, 0.015061, 0.014918, 0.014774, 0.01463, 0.014486, 0.01434, 0.014195, 0.014049, 0.013902, 0.013756, 0.013609, 0.013461, 0.013313, 0.013165, 0.013017, 0.012868, 0.01272, 0.012571, 0.012422, 0.012273, 0.012124, 0.011975, 0.011826, 0.011677, 0.011528, 0.011379, 0.01123, 0.011082, 0.010933, 0.010785, 0.010637, 0.010489, 0.010341, 0.010194, 0.010047, 0.009901, 0.009755, 0.009609, 0.009464, 0.009319, 0.009174, 0.009031, 0.008887, 0.008745, 0.008603, 0.008461, 0.00832, 0.00818, 0.00804, 0.007902, 0.007764, 0.007626, 0.00749, 0.007354, 0.007219, 0.007085, 0.006952, 0.00682, 0.006688, 0.006558, 0.006428, 0.0063, 0.006172, 0.006046, 0.00592, 0.005796, 0.005673, 0.00555, 0.005429, 0.005309, 0.00519, 0.005073, 0.004956, 0.004841, 0.004727, 0.004614, 0.004502, 0.004392, 0.004282, 0.004175, 0.004068, 0.003963, 0.003859, 0.003756, 0.003655, 0.003555, 0.003456, 0.003359, 0.003263, 0.003169, 0.003076, 0.002984, 0.002894, 0.002805, 0.002718, 0.002632, 0.002547, 0.002464, 0.002383, 0.002303, 0.002224, 0.002147, 0.002072, 0.001997, 0.001925, 0.001853, 0.001784, 0.001715, 0.001649, 0.001583, 0.00152, 0.001457, 0.001396, 0.001337, 0.001279, 0.001223, 0.001168, 0.001114, 0.001062, 0.001012, 0.000963, 0.000915, 0.000869, 0.000824, 0.00078, 0.000738, 0.000697, 0.000658, 0.00062, 0.000584, 0.000548, 0.000514, 0.000482, 0.00045, 0.00042, 0.000392, 0.000364, 0.000338, 0.000313, 0.000289, 0.000266, 0.000244, 0.000224, 0.000205, 0.000186, 0.000169, 0.000153, 0.000138, 0.000124, 0.000111, 9.8e-05, 8.7e-05, 7.6e-05, 6.7e-05, 5.8e-05, 5e-05, 4.3e-05, 3.6e-05, 3e-05, 2.5e-05, 2e-05, 1.6e-05, 1.3e-05, 1e-05, 8e-06, 6e-06, 4e-06, 3e-06, 2e-06, 1e-06, 1e-06, 0.0, 0.0, 0.0, 0.0]);
package/src/vue.js DELETED
@@ -1,92 +0,0 @@
1
- /**
2
- * Vue 3 Adapter for Liquid Glass UI (Component + v-liquid-glass Directive)
3
- */
4
- import { defineComponent, h, ref, onMounted, onBeforeUnmount, watch } from 'vue';
5
- import { LiquidGlassController, OPTICAL_DEFAULTS } from './core.js';
6
-
7
- /**
8
- * Vue Directive: v-liquid-glass="{ rim: 16, ior: 1.46, height: 18, frosted: 0, fusion: true }"
9
- */
10
- export const vLiquidGlass = {
11
- mounted(el, binding) {
12
- el.__liquidGlass = new LiquidGlassController(el, binding.value || {});
13
- },
14
- updated(el, binding) {
15
- if (el.__liquidGlass) {
16
- el.__liquidGlass.update(binding.value || {});
17
- }
18
- },
19
- unmounted(el) {
20
- if (el.__liquidGlass) {
21
- el.__liquidGlass.destroy();
22
- delete el.__liquidGlass;
23
- }
24
- }
25
- };
26
-
27
- /**
28
- * <LiquidGlass> Vue 3 Component
29
- */
30
- export const LiquidGlass = defineComponent({
31
- name: 'LiquidGlass',
32
- props: {
33
- rim: { type: Number, default: OPTICAL_DEFAULTS.rim },
34
- ior: { type: Number, default: OPTICAL_DEFAULTS.ior },
35
- height: { type: Number, default: OPTICAL_DEFAULTS.height },
36
- frosted: { type: Number, default: OPTICAL_DEFAULTS.frosted },
37
- fusion: { type: Boolean, default: OPTICAL_DEFAULTS.fusion },
38
- tag: { type: String, default: 'div' }
39
- },
40
- setup(props, { slots, attrs }) {
41
- const rootRef = ref(null);
42
- let controller = null;
43
-
44
- onMounted(() => {
45
- if (rootRef.value) {
46
- controller = new LiquidGlassController(rootRef.value, {
47
- rim: props.rim,
48
- ior: props.ior,
49
- height: props.height,
50
- frosted: props.frosted,
51
- fusion: props.fusion
52
- });
53
- }
54
- });
55
-
56
- watch(
57
- () => [props.rim, props.ior, props.height, props.frosted, props.fusion],
58
- ([rim, ior, height, frosted, fusion]) => {
59
- if (controller) {
60
- controller.update({ rim, ior, height, frosted, fusion });
61
- }
62
- }
63
- );
64
-
65
- onBeforeUnmount(() => {
66
- if (controller) {
67
- controller.destroy();
68
- controller = null;
69
- }
70
- });
71
-
72
- return () =>
73
- h(
74
- props.tag,
75
- {
76
- ref: rootRef,
77
- ...attrs
78
- },
79
- slots.default ? slots.default() : null
80
- );
81
- }
82
- });
83
-
84
- export const LiquidGlassPlugin = {
85
- install(app) {
86
- app.component('LiquidGlass', LiquidGlass);
87
- app.directive('liquid-glass', vLiquidGlass);
88
- }
89
- };
90
-
91
- export { LiquidGlassController, OPTICAL_DEFAULTS, OPTICAL_LIMITS } from './core.js';
92
- export default LiquidGlass;
@@ -1,257 +0,0 @@
1
- Sample_Idx,Norm_Coord,Col_A_Deflection_Gain,Col_B_Rim_Luminance,Col_C_Specular_Falloff,Col_D_Tension_Bridge,Col_E_Spectral_Shift
2
- 0,0.0,2.8,155.0,32.0,0.25,0.022
3
- 1,0.003922,2.799828,148.3395,31.500984,0.248043,0.021999
4
- 2,0.007843,2.799314,141.9652,31.007828,0.246094,0.021995
5
- 3,0.011765,2.798459,135.86482,30.520484,0.244152,0.021988
6
- 4,0.015686,2.797266,130.02657,30.038908,0.242218,0.021979
7
- 5,0.019608,2.795737,124.4392,29.563054,0.240292,0.021967
8
- 6,0.023529,2.793875,119.09193,29.092875,0.238374,0.021952
9
- 7,0.027451,2.791681,113.97443,28.628328,0.236463,0.021935
10
- 8,0.031373,2.789157,109.07684,28.169366,0.23456,0.021915
11
- 9,0.035294,2.786307,104.3897,27.715945,0.232664,0.021892
12
- 10,0.039216,2.783133,99.90397,27.268019,0.230777,0.021867
13
- 11,0.043137,2.779637,95.611,26.825545,0.228897,0.02184
14
- 12,0.047059,2.775821,91.5025,26.388479,0.227024,0.02181
15
- 13,0.05098,2.771688,87.57055,25.956774,0.22516,0.021778
16
- 14,0.054902,2.767241,83.80755,25.530389,0.223303,0.021743
17
- 15,0.058824,2.762482,80.20626,25.109278,0.221453,0.021705
18
- 16,0.062745,2.757414,76.75972,24.693398,0.219612,0.021665
19
- 17,0.066667,2.75204,73.46128,24.282706,0.217778,0.021623
20
- 18,0.070588,2.746362,70.30458,23.877158,0.215952,0.021579
21
- 19,0.07451,2.740383,67.28352,23.476712,0.214133,0.021532
22
- 20,0.078431,2.734106,64.39228,23.081323,0.212322,0.021482
23
- 21,0.082353,2.727534,61.62528,22.69095,0.210519,0.021431
24
- 22,0.086275,2.72067,58.97718,22.30555,0.208724,0.021377
25
- 23,0.090196,2.713516,56.44287,21.92508,0.206936,0.02132
26
- 24,0.094118,2.706075,54.01747,21.549499,0.205156,0.021262
27
- 25,0.098039,2.698351,51.69628,21.178763,0.203383,0.021201
28
- 26,0.101961,2.690347,49.47484,20.812832,0.201619,0.021138
29
- 27,0.105882,2.682065,47.34886,20.451664,0.199862,0.021073
30
- 28,0.109804,2.673508,45.31423,20.095216,0.198112,0.021006
31
- 29,0.113725,2.66468,43.36704,19.743449,0.196371,0.020937
32
- 30,0.117647,2.655584,41.50351,19.396319,0.194637,0.020865
33
- 31,0.121569,2.646223,39.72007,19.053788,0.19291,0.020792
34
- 32,0.12549,2.6366,38.01326,18.715813,0.191192,0.020716
35
- 33,0.129412,2.626719,36.37979,18.382355,0.189481,0.020639
36
- 34,0.133333,2.616582,34.81651,18.053373,0.187778,0.020559
37
- 35,0.137255,2.606193,33.32041,17.728826,0.186082,0.020477
38
- 36,0.141176,2.595555,31.8886,17.408675,0.184394,0.020394
39
- 37,0.145098,2.584672,30.51832,17.09288,0.182714,0.020308
40
- 38,0.14902,2.573546,29.20692,16.7814,0.181042,0.020221
41
- 39,0.152941,2.562182,27.95187,16.474197,0.179377,0.020131
42
- 40,0.156863,2.550582,26.75075,16.171232,0.17772,0.02004
43
- 41,0.160784,2.538751,25.60124,15.872464,0.176071,0.019947
44
- 42,0.164706,2.526691,24.50113,15.577855,0.174429,0.019853
45
- 43,0.168627,2.514406,23.44829,15.287367,0.172795,0.019756
46
- 44,0.172549,2.501899,22.4407,15.000961,0.171169,0.019658
47
- 45,0.176471,2.489175,21.4764,14.718598,0.16955,0.019558
48
- 46,0.180392,2.476236,20.55354,14.44024,0.167939,0.019456
49
- 47,0.184314,2.463086,19.67033,14.165849,0.166336,0.019353
50
- 48,0.188235,2.449728,18.82508,13.895387,0.16474,0.019248
51
- 49,0.192157,2.436167,18.01614,13.628816,0.163153,0.019141
52
- 50,0.196078,2.422406,17.24197,13.3661,0.161572,0.019033
53
- 51,0.2,2.408448,16.50107,13.1072,0.16,0.018924
54
- 52,0.203922,2.394297,15.792,12.85208,0.158435,0.018812
55
- 53,0.207843,2.379957,15.1134,12.600702,0.156878,0.0187
56
- 54,0.211765,2.365432,14.46397,12.35303,0.155329,0.018586
57
- 55,0.215686,2.350724,13.84243,12.109027,0.153787,0.01847
58
- 56,0.219608,2.335838,13.24761,11.868657,0.152253,0.018353
59
- 57,0.223529,2.320778,12.67835,11.631883,0.150727,0.018235
60
- 58,0.227451,2.305547,12.13355,11.398669,0.149208,0.018115
61
- 59,0.231373,2.290149,11.61216,11.168981,0.147697,0.017994
62
- 60,0.235294,2.274588,11.11317,10.942781,0.146194,0.017872
63
- 61,0.239216,2.258867,10.63563,10.720034,0.144698,0.017748
64
- 62,0.243137,2.242991,10.1786,10.500706,0.14321,0.017624
65
- 63,0.247059,2.226963,9.74122,10.28476,0.14173,0.017498
66
- 64,0.25098,2.210786,9.32263,10.072163,0.140258,0.01737
67
- 65,0.254902,2.194465,8.92203,9.862878,0.138793,0.017242
68
- 66,0.258824,2.178003,8.53864,9.656872,0.137336,0.017113
69
- 67,0.262745,2.161405,8.17172,9.45411,0.135886,0.016982
70
- 68,0.266667,2.144674,7.82058,9.254558,0.134444,0.016851
71
- 69,0.270588,2.127813,7.48452,9.058182,0.13301,0.016719
72
- 70,0.27451,2.110828,7.1629,8.864948,0.131584,0.016585
73
- 71,0.278431,2.09372,6.85511,8.674822,0.130165,0.016451
74
- 72,0.282353,2.076496,6.56054,8.48777,0.128754,0.016315
75
- 73,0.286275,2.059157,6.27862,8.30376,0.127351,0.016179
76
- 74,0.290196,2.041709,6.00882,8.122759,0.125955,0.016042
77
- 75,0.294118,2.024154,5.75062,7.944732,0.124567,0.015904
78
- 76,0.298039,2.006498,5.50351,7.769649,0.123187,0.015765
79
- 77,0.301961,1.988742,5.26702,7.597475,0.121815,0.015626
80
- 78,0.305882,1.970893,5.04069,7.428178,0.12045,0.015486
81
- 79,0.309804,1.952952,4.82409,7.261727,0.119093,0.015345
82
- 80,0.313725,1.934925,4.61679,7.098089,0.117743,0.015203
83
- 81,0.317647,1.916815,4.4184,6.937232,0.116401,0.015061
84
- 82,0.321569,1.898626,4.22854,6.779125,0.115067,0.014918
85
- 83,0.32549,1.880361,4.04683,6.623736,0.113741,0.014774
86
- 84,0.329412,1.862025,3.87294,6.471034,0.112422,0.01463
87
- 85,0.333333,1.843621,3.70651,6.320988,0.111111,0.014486
88
- 86,0.337255,1.825154,3.54724,6.173566,0.109808,0.01434
89
- 87,0.341176,1.806626,3.39481,6.028738,0.108512,0.014195
90
- 88,0.345098,1.788043,3.24893,5.886473,0.107224,0.014049
91
- 89,0.34902,1.769407,3.10932,5.746741,0.105944,0.013902
92
- 90,0.352941,1.750723,2.97571,5.609511,0.104671,0.013756
93
- 91,0.356863,1.731993,2.84784,5.474754,0.103406,0.013609
94
- 92,0.360784,1.713223,2.72547,5.34244,0.102149,0.013461
95
- 93,0.364706,1.694416,2.60835,5.212539,0.1009,0.013313
96
- 94,0.368627,1.675575,2.49627,5.085021,0.099658,0.013165
97
- 95,0.372549,1.656705,2.389,4.959857,0.098424,0.013017
98
- 96,0.376471,1.637809,2.28635,4.837019,0.097197,0.012868
99
- 97,0.380392,1.61889,2.1881,4.716476,0.095978,0.01272
100
- 98,0.384314,1.599953,2.09407,4.5982,0.094767,0.012571
101
- 99,0.388235,1.581002,2.00409,4.482163,0.093564,0.012422
102
- 100,0.392157,1.562039,1.91797,4.368336,0.092368,0.012273
103
- 101,0.396078,1.54307,1.83555,4.256691,0.09118,0.012124
104
- 102,0.4,1.524096,1.75668,4.1472,0.09,0.011975
105
- 103,0.403922,1.505122,1.68119,4.039835,0.088827,0.011826
106
- 104,0.407843,1.486153,1.60895,3.934568,0.087662,0.011677
107
- 105,0.411765,1.46719,1.53981,3.831372,0.086505,0.011528
108
- 106,0.415686,1.448238,1.47364,3.730219,0.085356,0.011379
109
- 107,0.419608,1.429301,1.41032,3.631083,0.084214,0.01123
110
- 108,0.423529,1.410382,1.34972,3.533935,0.08308,0.011082
111
- 109,0.427451,1.391484,1.29172,3.438751,0.081953,0.010933
112
- 110,0.431373,1.372611,1.23621,3.345502,0.080834,0.010785
113
- 111,0.435294,1.353767,1.18309,3.254162,0.079723,0.010637
114
- 112,0.439216,1.334956,1.13225,3.164706,0.07862,0.010489
115
- 113,0.443137,1.316179,1.0836,3.077107,0.077524,0.010341
116
- 114,0.447059,1.297442,1.03704,2.99134,0.076436,0.010194
117
- 115,0.45098,1.278747,0.99247,2.907377,0.075356,0.010047
118
- 116,0.454902,1.260098,0.94983,2.825195,0.074283,0.009901
119
- 117,0.458824,1.241498,0.90901,2.744768,0.073218,0.009755
120
- 118,0.462745,1.222951,0.86995,2.66607,0.072161,0.009609
121
- 119,0.466667,1.20446,0.83257,2.589077,0.071111,0.009464
122
- 120,0.470588,1.186028,0.79679,2.513763,0.070069,0.009319
123
- 121,0.47451,1.167658,0.76255,2.440105,0.069035,0.009174
124
- 122,0.478431,1.149354,0.72978,2.368077,0.068008,0.009031
125
- 123,0.482353,1.131119,0.69842,2.297656,0.06699,0.008887
126
- 124,0.486275,1.112957,0.66841,2.228817,0.065978,0.008745
127
- 125,0.490196,1.094869,0.63969,2.161537,0.064975,0.008603
128
- 126,0.494118,1.07686,0.6122,2.095792,0.063979,0.008461
129
- 127,0.498039,1.058932,0.5859,2.031558,0.062991,0.00832
130
- 128,0.501961,1.041089,0.56072,1.968812,0.062011,0.00818
131
- 129,0.505882,1.023334,0.53662,1.90753,0.061038,0.00804
132
- 130,0.509804,1.005669,0.51356,1.847691,0.060073,0.007902
133
- 131,0.513725,0.988098,0.4915,1.78927,0.059116,0.007764
134
- 132,0.517647,0.970623,0.47038,1.732247,0.058166,0.007626
135
- 133,0.521569,0.953248,0.45016,1.676597,0.057224,0.00749
136
- 134,0.52549,0.935976,0.43082,1.622298,0.05629,0.007354
137
- 135,0.529412,0.918808,0.41231,1.56933,0.055363,0.007219
138
- 136,0.533333,0.901748,0.39459,1.517669,0.054444,0.007085
139
- 137,0.537255,0.8848,0.37763,1.467294,0.053533,0.006952
140
- 138,0.541176,0.867964,0.36141,1.418184,0.05263,0.00682
141
- 139,0.545098,0.851245,0.34588,1.370318,0.051734,0.006688
142
- 140,0.54902,0.834644,0.33101,1.323673,0.050846,0.006558
143
- 141,0.552941,0.818165,0.31679,1.278229,0.049965,0.006428
144
- 142,0.556863,0.80181,0.30318,1.233966,0.049093,0.0063
145
- 143,0.560784,0.785582,0.29015,1.190862,0.048228,0.006172
146
- 144,0.564706,0.769483,0.27768,1.148897,0.04737,0.006046
147
- 145,0.568627,0.753515,0.26575,1.108052,0.046521,0.00592
148
- 146,0.572549,0.737681,0.25433,1.068305,0.045679,0.005796
149
- 147,0.576471,0.721983,0.2434,1.029637,0.044844,0.005673
150
- 148,0.580392,0.706423,0.23294,0.992029,0.044018,0.00555
151
- 149,0.584314,0.691005,0.22293,0.95546,0.043199,0.005429
152
- 150,0.588235,0.67573,0.21335,0.919912,0.042388,0.005309
153
- 151,0.592157,0.6606,0.20418,0.885366,0.041584,0.00519
154
- 152,0.596078,0.645617,0.19541,0.851801,0.040788,0.005073
155
- 153,0.6,0.630784,0.18701,0.8192,0.04,0.004956
156
- 154,0.603922,0.616102,0.17898,0.787544,0.03922,0.004841
157
- 155,0.607843,0.601575,0.17129,0.756814,0.038447,0.004727
158
- 156,0.611765,0.587202,0.16393,0.726993,0.037682,0.004614
159
- 157,0.615686,0.572987,0.15688,0.698061,0.036924,0.004502
160
- 158,0.619608,0.558931,0.15014,0.670002,0.036175,0.004392
161
- 159,0.623529,0.545037,0.14369,0.642798,0.035433,0.004282
162
- 160,0.627451,0.531305,0.13751,0.61643,0.034698,0.004175
163
- 161,0.631373,0.517738,0.13161,0.590882,0.033972,0.004068
164
- 162,0.635294,0.504337,0.12595,0.566136,0.033253,0.003963
165
- 163,0.639216,0.491103,0.12054,0.542176,0.032541,0.003859
166
- 164,0.643137,0.47804,0.11536,0.518985,0.031838,0.003756
167
- 165,0.647059,0.465147,0.1104,0.496546,0.031142,0.003655
168
- 166,0.65098,0.452426,0.10566,0.474842,0.030454,0.003555
169
- 167,0.654902,0.439879,0.10112,0.453858,0.029773,0.003456
170
- 168,0.658824,0.427507,0.09677,0.433577,0.0291,0.003359
171
- 169,0.662745,0.415311,0.09261,0.413984,0.028435,0.003263
172
- 170,0.666667,0.403292,0.08863,0.395062,0.027778,0.003169
173
- 171,0.670588,0.391452,0.08483,0.376796,0.027128,0.003076
174
- 172,0.67451,0.379792,0.08118,0.359171,0.026486,0.002984
175
- 173,0.678431,0.368313,0.07769,0.342172,0.025852,0.002894
176
- 174,0.682353,0.357015,0.07435,0.325784,0.025225,0.002805
177
- 175,0.686275,0.3459,0.07116,0.309991,0.024606,0.002718
178
- 176,0.690196,0.334969,0.0681,0.29478,0.023995,0.002632
179
- 177,0.694118,0.324222,0.06517,0.280135,0.023391,0.002547
180
- 178,0.698039,0.313659,0.06237,0.266043,0.022795,0.002464
181
- 179,0.701961,0.303283,0.05969,0.25249,0.022207,0.002383
182
- 180,0.705882,0.293093,0.05713,0.239461,0.021626,0.002303
183
- 181,0.709804,0.28309,0.05467,0.226943,0.021053,0.002224
184
- 182,0.713725,0.273274,0.05232,0.214922,0.020488,0.002147
185
- 183,0.717647,0.263645,0.05008,0.203385,0.019931,0.002072
186
- 184,0.721569,0.254205,0.04792,0.192319,0.019381,0.001997
187
- 185,0.72549,0.244954,0.04586,0.181711,0.018839,0.001925
188
- 186,0.729412,0.235891,0.04389,0.171548,0.018304,0.001853
189
- 187,0.733333,0.227016,0.04201,0.161817,0.017778,0.001784
190
- 188,0.737255,0.218331,0.0402,0.152507,0.017259,0.001715
191
- 189,0.741176,0.209834,0.03847,0.143603,0.016747,0.001649
192
- 190,0.745098,0.201526,0.03682,0.135096,0.016244,0.001583
193
- 191,0.74902,0.193407,0.03524,0.126972,0.015748,0.00152
194
- 192,0.752941,0.185476,0.03372,0.119221,0.01526,0.001457
195
- 193,0.756863,0.177733,0.03228,0.111829,0.014779,0.001396
196
- 194,0.760784,0.170178,0.03089,0.104787,0.014306,0.001337
197
- 195,0.764706,0.162811,0.02956,0.098083,0.013841,0.001279
198
- 196,0.768627,0.15563,0.02829,0.091706,0.013383,0.001223
199
- 197,0.772549,0.148636,0.02708,0.085645,0.012933,0.001168
200
- 198,0.776471,0.141828,0.02591,0.079889,0.012491,0.001114
201
- 199,0.780392,0.135204,0.0248,0.074429,0.012057,0.001062
202
- 200,0.784314,0.128765,0.02373,0.069253,0.01163,0.001012
203
- 201,0.788235,0.122509,0.02271,0.064352,0.011211,0.000963
204
- 202,0.792157,0.116436,0.02174,0.059716,0.0108,0.000915
205
- 203,0.796078,0.110544,0.0208,0.055335,0.010396,0.000869
206
- 204,0.8,0.104832,0.01991,0.0512,0.01,0.000824
207
- 205,0.803922,0.099299,0.01905,0.047301,0.009612,0.00078
208
- 206,0.807843,0.093945,0.01823,0.043629,0.009231,0.000738
209
- 207,0.811765,0.088766,0.01745,0.040175,0.008858,0.000697
210
- 208,0.815686,0.083763,0.0167,0.03693,0.008493,0.000658
211
- 209,0.819608,0.078934,0.01598,0.033886,0.008135,0.00062
212
- 210,0.823529,0.074276,0.0153,0.031034,0.007785,0.000584
213
- 211,0.827451,0.069789,0.01464,0.028366,0.007443,0.000548
214
- 212,0.831373,0.065471,0.01401,0.025874,0.007109,0.000514
215
- 213,0.835294,0.061319,0.01341,0.02355,0.006782,0.000482
216
- 214,0.839216,0.057333,0.01283,0.021386,0.006463,0.00045
217
- 215,0.843137,0.053509,0.01228,0.019374,0.006151,0.00042
218
- 216,0.847059,0.049846,0.01175,0.017508,0.005848,0.000392
219
- 217,0.85098,0.046341,0.01125,0.015781,0.005552,0.000364
220
- 218,0.854902,0.042993,0.01076,0.014184,0.005263,0.000338
221
- 219,0.858824,0.039799,0.0103,0.012712,0.004983,0.000313
222
- 220,0.862745,0.036757,0.00986,0.011357,0.00471,0.000289
223
- 221,0.866667,0.033864,0.00944,0.010114,0.004444,0.000266
224
- 222,0.870588,0.031117,0.00903,0.008975,0.004187,0.000244
225
- 223,0.87451,0.028514,0.00864,0.007936,0.003937,0.000224
226
- 224,0.878431,0.026052,0.00827,0.006989,0.003695,0.000205
227
- 225,0.882353,0.023727,0.00792,0.00613,0.00346,0.000186
228
- 226,0.886275,0.021539,0.00758,0.005353,0.003233,0.000169
229
- 227,0.890196,0.019482,0.00725,0.004652,0.003014,0.000153
230
- 228,0.894118,0.017554,0.00694,0.004022,0.002803,0.000138
231
- 229,0.898039,0.015751,0.00664,0.003458,0.002599,0.000124
232
- 230,0.901961,0.014071,0.00635,0.002956,0.002403,0.000111
233
- 231,0.905882,0.01251,0.00608,0.002511,0.002215,9.8e-05
234
- 232,0.909804,0.011064,0.00582,0.002118,0.002034,8.7e-05
235
- 233,0.913725,0.009729,0.00557,0.001773,0.001861,7.6e-05
236
- 234,0.917647,0.008503,0.00533,0.001472,0.001696,6.7e-05
237
- 235,0.921569,0.00738,0.0051,0.001211,0.001538,5.8e-05
238
- 236,0.92549,0.006358,0.00488,0.000986,0.001388,5e-05
239
- 237,0.929412,0.005432,0.00467,0.000794,0.001246,4.3e-05
240
- 238,0.933333,0.004598,0.00447,0.000632,0.001111,3.6e-05
241
- 239,0.937255,0.003852,0.00428,0.000496,0.000984,3e-05
242
- 240,0.941176,0.003189,0.0041,0.000383,0.000865,2.5e-05
243
- 241,0.945098,0.002605,0.00392,0.000291,0.000754,2e-05
244
- 242,0.94902,0.002096,0.00375,0.000216,0.00065,1.6e-05
245
- 243,0.952941,0.001656,0.00359,0.000157,0.000554,1.3e-05
246
- 244,0.956863,0.001282,0.00344,0.000111,0.000465,1e-05
247
- 245,0.960784,0.000967,0.00329,7.6e-05,0.000384,8e-06
248
- 246,0.964706,0.000709,0.00315,5e-05,0.000311,6e-06
249
- 247,0.968627,0.0005,0.00301,3.1e-05,0.000246,4e-06
250
- 248,0.972549,0.000336,0.00288,1.8e-05,0.000188,3e-06
251
- 249,0.976471,0.000213,0.00276,1e-05,0.000138,2e-06
252
- 250,0.980392,0.000124,0.00264,5e-06,9.6e-05,1e-06
253
- 251,0.984314,6.4e-05,0.00253,2e-06,6.2e-05,1e-06
254
- 252,0.988235,2.7e-05,0.00242,1e-06,3.5e-05,0.0
255
- 253,0.992157,8e-06,0.00231,0.0,1.5e-05,0.0
256
- 254,0.996078,1e-06,0.00221,0.0,4e-06,0.0
257
- 255,1.0,0.0,0.00212,0.0,0.0,0.0