@awesome-flow/noise 0.9.2 → 0.9.4
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/abstract/index.cjs +16 -29
- package/dist/abstract/index.d.cts +131 -121
- package/dist/abstract/index.d.cts.map +1 -0
- package/dist/abstract/index.d.ts +131 -121
- package/dist/abstract/index.d.ts.map +1 -0
- package/dist/abstract/index.js +8 -29
- package/dist/abstract-Db8fFoLp.cjs +1423 -0
- package/dist/abstract-Db8fFoLp.cjs.map +1 -0
- package/dist/abstract-Dhf_tSuO.js +1177 -0
- package/dist/abstract-Dhf_tSuO.js.map +1 -0
- package/dist/chunk-CUT6urMc.cjs +30 -0
- package/dist/generators-BzkwG_6g.js +353 -0
- package/dist/generators-BzkwG_6g.js.map +1 -0
- package/dist/generators-D3RjZdMN.cjs +413 -0
- package/dist/generators-D3RjZdMN.cjs.map +1 -0
- package/dist/groups-BIS2AF5M.cjs +32 -0
- package/dist/groups-BIS2AF5M.cjs.map +1 -0
- package/dist/groups-CH_lk8Aw.js +26 -0
- package/dist/groups-CH_lk8Aw.js.map +1 -0
- package/dist/index-B5F3AfVc.d.ts +1 -0
- package/dist/index-B9liqMk7.d.cts +106 -0
- package/dist/index-B9liqMk7.d.cts.map +1 -0
- package/dist/index-BLREDRDJ.d.cts +1 -0
- package/dist/index-BQGb02a-.d.cts +1 -0
- package/dist/index-Be7jjS77.d.ts +1 -0
- package/dist/index-C2UIRuQU.d.ts +56 -0
- package/dist/index-C2UIRuQU.d.ts.map +1 -0
- package/dist/index-C7p7kRl6.d.ts +106 -0
- package/dist/index-C7p7kRl6.d.ts.map +1 -0
- package/dist/index-CLcwj8U0.d.ts +1 -0
- package/dist/index-CUPkUUOR.d.ts +1 -0
- package/dist/index-CdUm_2Oy.d.cts +45 -0
- package/dist/index-CdUm_2Oy.d.cts.map +1 -0
- package/dist/index-CnGot0Ls.d.ts +26 -0
- package/dist/index-CnGot0Ls.d.ts.map +1 -0
- package/dist/index-CtCMUyZA.d.cts +1 -0
- package/dist/index-DAwMsCZ3.d.ts +1 -0
- package/dist/index-DHPGVj1Q.d.cts +56 -0
- package/dist/index-DHPGVj1Q.d.cts.map +1 -0
- package/dist/index-DOvrmvAP.d.cts +1 -0
- package/dist/index-Dh6J9gb5.d.cts +1 -0
- package/dist/index-Dpmi5zcN.d.cts +1 -0
- package/dist/index-DsrVbQfJ.d.cts +26 -0
- package/dist/index-DsrVbQfJ.d.cts.map +1 -0
- package/dist/index-Dun4VhYj.d.ts +10 -0
- package/dist/index-Dun4VhYj.d.ts.map +1 -0
- package/dist/index-Dyw_KDIi.d.ts +45 -0
- package/dist/index-Dyw_KDIi.d.ts.map +1 -0
- package/dist/index-I2m6W13H.d.ts +1 -0
- package/dist/index-QAtBiMxG.d.cts +1 -0
- package/dist/index-XpRnF8C9.d.cts +98 -0
- package/dist/index-XpRnF8C9.d.cts.map +1 -0
- package/dist/index-b3KxQSTX.d.ts +98 -0
- package/dist/index-b3KxQSTX.d.ts.map +1 -0
- package/dist/index-kr8Wk7v5.d.ts +1 -0
- package/dist/index-uyclP-_e.d.cts +10 -0
- package/dist/index-uyclP-_e.d.cts.map +1 -0
- package/dist/modifiers-DU7AkD-K.cjs +545 -0
- package/dist/modifiers-DU7AkD-K.cjs.map +1 -0
- package/dist/modifiers-MSA4z6Gq.js +479 -0
- package/dist/modifiers-MSA4z6Gq.js.map +1 -0
- package/dist/module-group-template-evi7UU-G.d.ts +12 -0
- package/dist/module-group-template-evi7UU-G.d.ts.map +1 -0
- package/dist/module-group-template-hN1W1MZD.d.cts +12 -0
- package/dist/module-group-template-hN1W1MZD.d.cts.map +1 -0
- package/dist/modules/index.cjs +2 -5
- package/dist/modules/index.d.cts +10 -5
- package/dist/modules/index.d.cts.map +1 -0
- package/dist/modules/index.d.ts +10 -5
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/modules/index.js +3 -6
- package/dist/node-props-76LXd76e.d.ts +141 -0
- package/dist/node-props-76LXd76e.d.ts.map +1 -0
- package/dist/node-props-D-fSg180.d.cts +141 -0
- package/dist/node-props-D-fSg180.d.cts.map +1 -0
- package/dist/nodes/generators/index.cjs +12 -24
- package/dist/nodes/generators/index.d.cts +3 -27
- package/dist/nodes/generators/index.d.ts +3 -27
- package/dist/nodes/generators/index.js +3 -24
- package/dist/nodes/groups/index.cjs +2 -5
- package/dist/nodes/groups/index.d.cts +2 -7
- package/dist/nodes/groups/index.d.ts +2 -7
- package/dist/nodes/groups/index.js +3 -6
- package/dist/nodes/index.cjs +38 -75
- package/dist/nodes/index.d.cts +9 -13
- package/dist/nodes/index.d.ts +9 -13
- package/dist/nodes/index.js +8 -75
- package/dist/nodes/modifiers/index.cjs +12 -23
- package/dist/nodes/modifiers/index.d.cts +3 -12
- package/dist/nodes/modifiers/index.d.ts +3 -12
- package/dist/nodes/modifiers/index.js +4 -23
- package/dist/nodes/output/index.cjs +11 -17
- package/dist/nodes/output/index.d.cts +2 -13
- package/dist/nodes/output/index.d.ts +2 -13
- package/dist/nodes/output/index.js +8 -17
- package/dist/nodes/selectors/index.cjs +9 -13
- package/dist/nodes/selectors/index.d.cts +3 -11
- package/dist/nodes/selectors/index.d.ts +3 -11
- package/dist/nodes/selectors/index.js +8 -13
- package/dist/nodes/transformers/index.cjs +6 -13
- package/dist/nodes/transformers/index.d.cts +3 -17
- package/dist/nodes/transformers/index.d.ts +3 -17
- package/dist/nodes/transformers/index.js +3 -14
- package/dist/noise-select-template-BIc5lJ3B.d.ts +20 -0
- package/dist/noise-select-template-BIc5lJ3B.d.ts.map +1 -0
- package/dist/noise-select-template-DCaVwZ3-.d.cts +20 -0
- package/dist/noise-select-template-DCaVwZ3-.d.cts.map +1 -0
- package/dist/noise-terrace-template-0WFJalF_.d.cts +69 -0
- package/dist/noise-terrace-template-0WFJalF_.d.cts.map +1 -0
- package/dist/noise-terrace-template-li40jZuF.d.ts +69 -0
- package/dist/noise-terrace-template-li40jZuF.d.ts.map +1 -0
- package/dist/noise-turbulence-template-BhxPzE9y.d.ts +68 -0
- package/dist/noise-turbulence-template-BhxPzE9y.d.ts.map +1 -0
- package/dist/noise-turbulence-template-D1wvZo6-.d.cts +68 -0
- package/dist/noise-turbulence-template-D1wvZo6-.d.cts.map +1 -0
- package/dist/normalize-noise-module-CTxqByn9.js +20 -0
- package/dist/normalize-noise-module-CTxqByn9.js.map +1 -0
- package/dist/normalize-noise-module-U3fMmZRj.cjs +26 -0
- package/dist/normalize-noise-module-U3fMmZRj.cjs.map +1 -0
- package/dist/output-CsgQ-PfN.js +0 -0
- package/dist/output-DhHW36T8.cjs +0 -0
- package/dist/position-grid-template-B7YMhe83.d.cts +76 -0
- package/dist/position-grid-template-B7YMhe83.d.cts.map +1 -0
- package/dist/position-grid-template-QuIcXmat.d.ts +76 -0
- package/dist/position-grid-template-QuIcXmat.d.ts.map +1 -0
- package/dist/position-logger-template-Bj6c2m8v.d.ts +33 -0
- package/dist/position-logger-template-Bj6c2m8v.d.ts.map +1 -0
- package/dist/position-logger-template-DmcBLwwL.d.cts +33 -0
- package/dist/position-logger-template-DmcBLwwL.d.cts.map +1 -0
- package/dist/selectors-DOtoPc8O.cjs +0 -0
- package/dist/selectors-DPitHA56.js +0 -0
- package/dist/templates/generators/index.cjs +18 -30
- package/dist/templates/generators/index.d.cts +4 -45
- package/dist/templates/generators/index.d.ts +4 -45
- package/dist/templates/generators/index.js +9 -30
- package/dist/templates/groups/index.cjs +9 -12
- package/dist/templates/groups/index.d.cts +3 -7
- package/dist/templates/groups/index.d.ts +3 -7
- package/dist/templates/groups/index.js +9 -12
- package/dist/templates/index.cjs +44 -77
- package/dist/templates/index.d.cts +14 -9
- package/dist/templates/index.d.ts +14 -9
- package/dist/templates/index.js +14 -77
- package/dist/templates/modifiers/index.cjs +17 -28
- package/dist/templates/modifiers/index.d.cts +4 -41
- package/dist/templates/modifiers/index.d.ts +4 -41
- package/dist/templates/modifiers/index.js +9 -28
- package/dist/templates/output/index.cjs +12 -18
- package/dist/templates/output/index.d.cts +3 -19
- package/dist/templates/output/index.d.ts +3 -19
- package/dist/templates/output/index.js +9 -18
- package/dist/templates/selectors/index.cjs +10 -14
- package/dist/templates/selectors/index.d.cts +4 -13
- package/dist/templates/selectors/index.d.ts +4 -13
- package/dist/templates/selectors/index.js +9 -14
- package/dist/templates/transformers/index.cjs +13 -20
- package/dist/templates/transformers/index.d.cts +4 -4
- package/dist/templates/transformers/index.d.ts +4 -4
- package/dist/templates/transformers/index.js +9 -20
- package/dist/transformers-C-NV_u9j.cjs +324 -0
- package/dist/transformers-C-NV_u9j.cjs.map +1 -0
- package/dist/transformers-CbfR4wDy.js +0 -0
- package/dist/transformers-Cpxm1ER8.js +276 -0
- package/dist/transformers-Cpxm1ER8.js.map +1 -0
- package/dist/transformers-iRDXBonP.cjs +0 -0
- package/package.json +14 -15
- package/dist/chunk-36USJJC4.cjs +0 -576
- package/dist/chunk-4PQ4USYV.cjs +0 -1
- package/dist/chunk-DQE5NXY7.cjs +0 -911
- package/dist/chunk-FFQRP23R.cjs +0 -1
- package/dist/chunk-FMJZTXJQ.js +0 -576
- package/dist/chunk-JACBT4MS.cjs +0 -1
- package/dist/chunk-LKDSXT7I.cjs +0 -896
- package/dist/chunk-M26CSOHC.js +0 -911
- package/dist/chunk-N6YNJKLS.cjs +0 -1
- package/dist/chunk-NUA3VGOA.js +0 -896
- package/dist/chunk-OLJKWO2H.cjs +0 -1591
- package/dist/chunk-Q5FVGKKM.cjs +0 -1
- package/dist/chunk-R6TU3SBX.js +0 -49
- package/dist/chunk-SGHEOOLW.js +0 -19
- package/dist/chunk-UNMRBZ5X.cjs +0 -19
- package/dist/chunk-W4T6Q7A5.js +0 -1591
- package/dist/chunk-WOJTKQKO.cjs +0 -1
- package/dist/chunk-XC7VF5YC.cjs +0 -49
- package/dist/index-BZr1EROK.d.cts +0 -49
- package/dist/index-DzD3jbPF.d.ts +0 -49
- package/dist/node-props-D8SnrgWa.d.cts +0 -137
- package/dist/node-props-D8SnrgWa.d.ts +0 -137
- package/dist/noise-terrace-node-D2ezdTnC.d.cts +0 -22
- package/dist/noise-terrace-node-DW81ZQk6.d.ts +0 -22
- /package/dist/{chunk-2Y22M2Y4.js → generators-CEKtVh81.cjs} +0 -0
- /package/dist/{chunk-5ELMFIRV.js → generators-DUbGjGwn.js} +0 -0
- /package/dist/{chunk-RVWCBH7K.js → groups-7QhtZ7S3.js} +0 -0
- /package/dist/{chunk-SD3T3LFY.js → groups-_x04PMtP.cjs} +0 -0
- /package/dist/{chunk-TOYKGWYO.js → modifiers-BFuezug6.js} +0 -0
- /package/dist/{chunk-XZQQ6N3L.js → modifiers-BPTSn-15.cjs} +0 -0
package/dist/chunk-W4T6Q7A5.js
DELETED
|
@@ -1,1591 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
noise_displace_node_default,
|
|
3
|
-
noise_rotate_point_node_default,
|
|
4
|
-
noise_scale_point_node_default,
|
|
5
|
-
noise_translate_point_node_default,
|
|
6
|
-
noise_turbulence_node_default
|
|
7
|
-
} from "./chunk-FMJZTXJQ.js";
|
|
8
|
-
import {
|
|
9
|
-
noise_billow_node_default,
|
|
10
|
-
noise_checkerboard_node_default,
|
|
11
|
-
noise_const_node_default,
|
|
12
|
-
noise_cylinders_node_default,
|
|
13
|
-
noise_perlin_node_default,
|
|
14
|
-
noise_ridgedmulti_node_default,
|
|
15
|
-
noise_spheres_node_default,
|
|
16
|
-
noise_voronoi_node_default,
|
|
17
|
-
position_const_node_default,
|
|
18
|
-
position_grid_node_default
|
|
19
|
-
} from "./chunk-NUA3VGOA.js";
|
|
20
|
-
import {
|
|
21
|
-
module_group_node_default
|
|
22
|
-
} from "./chunk-R6TU3SBX.js";
|
|
23
|
-
import {
|
|
24
|
-
noise_abs_node_default,
|
|
25
|
-
noise_clamp_node_default,
|
|
26
|
-
noise_combine_node_default,
|
|
27
|
-
noise_curve_node_default,
|
|
28
|
-
noise_exponent_node_default,
|
|
29
|
-
noise_invert_node_default,
|
|
30
|
-
noise_normalize_node_default,
|
|
31
|
-
noise_scale_bias_node_default,
|
|
32
|
-
noise_terrace_node_default
|
|
33
|
-
} from "./chunk-M26CSOHC.js";
|
|
34
|
-
|
|
35
|
-
// src/nodes/output/noise-logger-node.tsx
|
|
36
|
-
import { useIncomingComputedData } from "@awesome-flow/core/hooks";
|
|
37
|
-
import { NodeContainer } from "@awesome-flow/core/layout";
|
|
38
|
-
import { Divider, Stack, Text } from "@mantine/core";
|
|
39
|
-
import { useMemo } from "react";
|
|
40
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
41
|
-
function NoiseLoggerNode({
|
|
42
|
-
id,
|
|
43
|
-
selected,
|
|
44
|
-
data,
|
|
45
|
-
type
|
|
46
|
-
}) {
|
|
47
|
-
const incoming = useIncomingComputedData(id);
|
|
48
|
-
const noise = useMemo(() => incoming?.map((p) => p.noise).flat(), [incoming]);
|
|
49
|
-
return /* @__PURE__ */ jsxs(NodeContainer, { id, selected, data, type, children: [
|
|
50
|
-
/* @__PURE__ */ jsxs(Text, { children: [
|
|
51
|
-
"Size: ",
|
|
52
|
-
noise?.length || 0
|
|
53
|
-
] }),
|
|
54
|
-
/* @__PURE__ */ jsx(Divider, { h: 5 }),
|
|
55
|
-
/* @__PURE__ */ jsx(Stack, { children: noise?.map((v, i) => /* @__PURE__ */ jsxs(Text, { children: [
|
|
56
|
-
v.position?.x,
|
|
57
|
-
":",
|
|
58
|
-
v.position?.y,
|
|
59
|
-
":",
|
|
60
|
-
v.position?.z,
|
|
61
|
-
": ",
|
|
62
|
-
v.value
|
|
63
|
-
] }, i)) })
|
|
64
|
-
] });
|
|
65
|
-
}
|
|
66
|
-
var noise_logger_node_default = NoiseLoggerNode;
|
|
67
|
-
|
|
68
|
-
// src/nodes/output/noise-output-node.tsx
|
|
69
|
-
import { c as _c4 } from "react/compiler-runtime";
|
|
70
|
-
import { HandlesIncomingDataStatus as HandlesIncomingDataStatus3 } from "@awesome-flow/core/components";
|
|
71
|
-
import { useUpdateNodeComputedData as useUpdateNodeComputedData4 } from "@awesome-flow/core/hooks";
|
|
72
|
-
import { NodeContainer as NodeContainer6 } from "@awesome-flow/core/layout";
|
|
73
|
-
import { Text as Text3 } from "@mantine/core";
|
|
74
|
-
import { useState as useState3 } from "react";
|
|
75
|
-
|
|
76
|
-
// src/nodes/selectors/noise-blend-node.tsx
|
|
77
|
-
import { c as _c } from "react/compiler-runtime";
|
|
78
|
-
import { HandlesIncomingDataStatus } from "@awesome-flow/core/components";
|
|
79
|
-
import { useUpdateNodeComputedData } from "@awesome-flow/core/hooks";
|
|
80
|
-
import { NodeContainer as NodeContainer2 } from "@awesome-flow/core/layout";
|
|
81
|
-
import { Blend } from "libnoise-simplex-ts";
|
|
82
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
83
|
-
function NoiseBlendNode(t0) {
|
|
84
|
-
const $ = _c(13);
|
|
85
|
-
const {
|
|
86
|
-
id,
|
|
87
|
-
selected,
|
|
88
|
-
data,
|
|
89
|
-
type
|
|
90
|
-
} = t0;
|
|
91
|
-
const updateComputedData = useUpdateNodeComputedData();
|
|
92
|
-
let t1;
|
|
93
|
-
if ($[0] !== id || $[1] !== updateComputedData) {
|
|
94
|
-
t1 = (incomingData) => {
|
|
95
|
-
const incomingSources = incomingData["source" /* source */];
|
|
96
|
-
const incomingControl = incomingData["control" /* control */];
|
|
97
|
-
if (incomingSources?.length >= 2 && incomingControl?.length) {
|
|
98
|
-
const module = new Blend(incomingSources[0].module, incomingSources[1].module, incomingControl[0].module);
|
|
99
|
-
updateComputedData(id, {
|
|
100
|
-
module
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
$[0] = id;
|
|
105
|
-
$[1] = updateComputedData;
|
|
106
|
-
$[2] = t1;
|
|
107
|
-
} else {
|
|
108
|
-
t1 = $[2];
|
|
109
|
-
}
|
|
110
|
-
const onDataUpdated = t1;
|
|
111
|
-
let t2;
|
|
112
|
-
if ($[3] !== data.handles || $[4] !== id || $[5] !== onDataUpdated) {
|
|
113
|
-
t2 = /* @__PURE__ */ jsx2(HandlesIncomingDataStatus, { nodeId: id, handles: data.handles, groupBy: "dataId", onDataUpdated, type: "target", resetComputedData: true });
|
|
114
|
-
$[3] = data.handles;
|
|
115
|
-
$[4] = id;
|
|
116
|
-
$[5] = onDataUpdated;
|
|
117
|
-
$[6] = t2;
|
|
118
|
-
} else {
|
|
119
|
-
t2 = $[6];
|
|
120
|
-
}
|
|
121
|
-
let t3;
|
|
122
|
-
if ($[7] !== data || $[8] !== id || $[9] !== selected || $[10] !== t2 || $[11] !== type) {
|
|
123
|
-
t3 = /* @__PURE__ */ jsx2(NodeContainer2, { id, selected, data, type, children: t2 });
|
|
124
|
-
$[7] = data;
|
|
125
|
-
$[8] = id;
|
|
126
|
-
$[9] = selected;
|
|
127
|
-
$[10] = t2;
|
|
128
|
-
$[11] = type;
|
|
129
|
-
$[12] = t3;
|
|
130
|
-
} else {
|
|
131
|
-
t3 = $[12];
|
|
132
|
-
}
|
|
133
|
-
return t3;
|
|
134
|
-
}
|
|
135
|
-
var noise_blend_node_default = NoiseBlendNode;
|
|
136
|
-
|
|
137
|
-
// src/nodes/selectors/noise-select-node.tsx
|
|
138
|
-
import { c as _c2 } from "react/compiler-runtime";
|
|
139
|
-
import { HandlesIncomingDataStatus as HandlesIncomingDataStatus2 } from "@awesome-flow/core/components";
|
|
140
|
-
import { useUpdateNodeComputedData as useUpdateNodeComputedData2, useUpdateNodeData } from "@awesome-flow/core/hooks";
|
|
141
|
-
import { NodeContainer as NodeContainer3 } from "@awesome-flow/core/layout";
|
|
142
|
-
import { Group, NumberInput, Stack as Stack2 } from "@mantine/core";
|
|
143
|
-
import { Select } from "libnoise-simplex-ts";
|
|
144
|
-
import { useEffect, useState } from "react";
|
|
145
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
146
|
-
function NoiseSelectNode(t0) {
|
|
147
|
-
const $ = _c2(37);
|
|
148
|
-
const {
|
|
149
|
-
id,
|
|
150
|
-
selected,
|
|
151
|
-
data,
|
|
152
|
-
type
|
|
153
|
-
} = t0;
|
|
154
|
-
const [edgeFalloff, setEdgeFalloff] = useState(data.edgeFalloff);
|
|
155
|
-
const [lowerBound, setLowerBound] = useState(data.lowerBound);
|
|
156
|
-
const [upperBound, setUpperBound] = useState(data.upperBound);
|
|
157
|
-
const updateNodeData = useUpdateNodeData();
|
|
158
|
-
const updateComputedData = useUpdateNodeComputedData2();
|
|
159
|
-
let t1;
|
|
160
|
-
let t2;
|
|
161
|
-
if ($[0] !== edgeFalloff || $[1] !== id || $[2] !== lowerBound || $[3] !== updateNodeData || $[4] !== upperBound) {
|
|
162
|
-
t1 = () => {
|
|
163
|
-
updateNodeData(id, {
|
|
164
|
-
edgeFalloff,
|
|
165
|
-
lowerBound,
|
|
166
|
-
upperBound
|
|
167
|
-
});
|
|
168
|
-
};
|
|
169
|
-
t2 = [edgeFalloff, lowerBound, upperBound, id, updateNodeData];
|
|
170
|
-
$[0] = edgeFalloff;
|
|
171
|
-
$[1] = id;
|
|
172
|
-
$[2] = lowerBound;
|
|
173
|
-
$[3] = updateNodeData;
|
|
174
|
-
$[4] = upperBound;
|
|
175
|
-
$[5] = t1;
|
|
176
|
-
$[6] = t2;
|
|
177
|
-
} else {
|
|
178
|
-
t1 = $[5];
|
|
179
|
-
t2 = $[6];
|
|
180
|
-
}
|
|
181
|
-
useEffect(t1, t2);
|
|
182
|
-
let t3;
|
|
183
|
-
if ($[7] !== edgeFalloff || $[8] !== id || $[9] !== lowerBound || $[10] !== updateComputedData || $[11] !== upperBound) {
|
|
184
|
-
t3 = (incomingData) => {
|
|
185
|
-
const incomingSources = incomingData["source" /* source */];
|
|
186
|
-
const incomingControl = incomingData["control" /* control */];
|
|
187
|
-
if (incomingSources?.length >= 2 && incomingControl?.length) {
|
|
188
|
-
const module = new Select(incomingSources[0].module, incomingSources[1].module, incomingControl[0].module, edgeFalloff, lowerBound, upperBound);
|
|
189
|
-
updateComputedData(id, {
|
|
190
|
-
module
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
$[7] = edgeFalloff;
|
|
195
|
-
$[8] = id;
|
|
196
|
-
$[9] = lowerBound;
|
|
197
|
-
$[10] = updateComputedData;
|
|
198
|
-
$[11] = upperBound;
|
|
199
|
-
$[12] = t3;
|
|
200
|
-
} else {
|
|
201
|
-
t3 = $[12];
|
|
202
|
-
}
|
|
203
|
-
const onDataUpdated = t3;
|
|
204
|
-
let t4;
|
|
205
|
-
if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
|
|
206
|
-
t4 = (e) => setEdgeFalloff(Number(e));
|
|
207
|
-
$[13] = t4;
|
|
208
|
-
} else {
|
|
209
|
-
t4 = $[13];
|
|
210
|
-
}
|
|
211
|
-
let t5;
|
|
212
|
-
if ($[14] !== edgeFalloff) {
|
|
213
|
-
t5 = /* @__PURE__ */ jsxs2(Group, { children: [
|
|
214
|
-
"Edge Falloff:",
|
|
215
|
-
/* @__PURE__ */ jsx3(NumberInput, { size: "xs", w: 100, value: edgeFalloff, onChange: t4, step: 0.1 })
|
|
216
|
-
] });
|
|
217
|
-
$[14] = edgeFalloff;
|
|
218
|
-
$[15] = t5;
|
|
219
|
-
} else {
|
|
220
|
-
t5 = $[15];
|
|
221
|
-
}
|
|
222
|
-
let t6;
|
|
223
|
-
if ($[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
224
|
-
t6 = (e_0) => setLowerBound(Number(e_0));
|
|
225
|
-
$[16] = t6;
|
|
226
|
-
} else {
|
|
227
|
-
t6 = $[16];
|
|
228
|
-
}
|
|
229
|
-
let t7;
|
|
230
|
-
if ($[17] !== lowerBound) {
|
|
231
|
-
t7 = /* @__PURE__ */ jsxs2(Group, { children: [
|
|
232
|
-
"Lower Bound:",
|
|
233
|
-
/* @__PURE__ */ jsx3(NumberInput, { size: "xs", w: 100, value: lowerBound, onChange: t6, step: 0.1 })
|
|
234
|
-
] });
|
|
235
|
-
$[17] = lowerBound;
|
|
236
|
-
$[18] = t7;
|
|
237
|
-
} else {
|
|
238
|
-
t7 = $[18];
|
|
239
|
-
}
|
|
240
|
-
let t8;
|
|
241
|
-
if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
|
|
242
|
-
t8 = (e_1) => setUpperBound(Number(e_1));
|
|
243
|
-
$[19] = t8;
|
|
244
|
-
} else {
|
|
245
|
-
t8 = $[19];
|
|
246
|
-
}
|
|
247
|
-
let t9;
|
|
248
|
-
if ($[20] !== upperBound) {
|
|
249
|
-
t9 = /* @__PURE__ */ jsxs2(Group, { children: [
|
|
250
|
-
"Upper Bound:",
|
|
251
|
-
/* @__PURE__ */ jsx3(NumberInput, { size: "xs", w: 100, value: upperBound, onChange: t8, step: 0.1 })
|
|
252
|
-
] });
|
|
253
|
-
$[20] = upperBound;
|
|
254
|
-
$[21] = t9;
|
|
255
|
-
} else {
|
|
256
|
-
t9 = $[21];
|
|
257
|
-
}
|
|
258
|
-
let t10;
|
|
259
|
-
if ($[22] !== data.handles || $[23] !== id || $[24] !== onDataUpdated) {
|
|
260
|
-
t10 = /* @__PURE__ */ jsx3(HandlesIncomingDataStatus2, { nodeId: id, handles: data.handles, groupBy: "dataId", onDataUpdated, type: "target", resetComputedData: true });
|
|
261
|
-
$[22] = data.handles;
|
|
262
|
-
$[23] = id;
|
|
263
|
-
$[24] = onDataUpdated;
|
|
264
|
-
$[25] = t10;
|
|
265
|
-
} else {
|
|
266
|
-
t10 = $[25];
|
|
267
|
-
}
|
|
268
|
-
let t11;
|
|
269
|
-
if ($[26] !== t10 || $[27] !== t5 || $[28] !== t7 || $[29] !== t9) {
|
|
270
|
-
t11 = /* @__PURE__ */ jsxs2(Stack2, { children: [
|
|
271
|
-
t5,
|
|
272
|
-
t7,
|
|
273
|
-
t9,
|
|
274
|
-
t10
|
|
275
|
-
] });
|
|
276
|
-
$[26] = t10;
|
|
277
|
-
$[27] = t5;
|
|
278
|
-
$[28] = t7;
|
|
279
|
-
$[29] = t9;
|
|
280
|
-
$[30] = t11;
|
|
281
|
-
} else {
|
|
282
|
-
t11 = $[30];
|
|
283
|
-
}
|
|
284
|
-
let t12;
|
|
285
|
-
if ($[31] !== data || $[32] !== id || $[33] !== selected || $[34] !== t11 || $[35] !== type) {
|
|
286
|
-
t12 = /* @__PURE__ */ jsx3(NodeContainer3, { id, selected, data, type, children: t11 });
|
|
287
|
-
$[31] = data;
|
|
288
|
-
$[32] = id;
|
|
289
|
-
$[33] = selected;
|
|
290
|
-
$[34] = t11;
|
|
291
|
-
$[35] = type;
|
|
292
|
-
$[36] = t12;
|
|
293
|
-
} else {
|
|
294
|
-
t12 = $[36];
|
|
295
|
-
}
|
|
296
|
-
return t12;
|
|
297
|
-
}
|
|
298
|
-
var noise_select_node_default = NoiseSelectNode;
|
|
299
|
-
|
|
300
|
-
// src/nodes/output/noise-raw-texture-node.tsx
|
|
301
|
-
import { c as _c3 } from "react/compiler-runtime";
|
|
302
|
-
import { useIncomingComputedData as useIncomingComputedData2, useUpdateNodeComputedData as useUpdateNodeComputedData3 } from "@awesome-flow/core/hooks";
|
|
303
|
-
import { NodeContainer as NodeContainer4 } from "@awesome-flow/core/layout";
|
|
304
|
-
import { Group as Group2, Stack as Stack3 } from "@mantine/core";
|
|
305
|
-
import { useEffect as useEffect2, useState as useState2 } from "react";
|
|
306
|
-
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
307
|
-
function NoiseRawTextureNode(t0) {
|
|
308
|
-
const $ = _c3(24);
|
|
309
|
-
const {
|
|
310
|
-
id,
|
|
311
|
-
selected,
|
|
312
|
-
data,
|
|
313
|
-
type
|
|
314
|
-
} = t0;
|
|
315
|
-
const updateComputedData = useUpdateNodeComputedData3();
|
|
316
|
-
const [dataLength, setDataLength] = useState2(0);
|
|
317
|
-
const [resolution, setResolution] = useState2(0);
|
|
318
|
-
const incoming = useIncomingComputedData2(id);
|
|
319
|
-
let t1;
|
|
320
|
-
let t2;
|
|
321
|
-
if ($[0] !== incoming) {
|
|
322
|
-
t2 = incoming?.map(_temp).flat();
|
|
323
|
-
$[0] = incoming;
|
|
324
|
-
$[1] = t2;
|
|
325
|
-
} else {
|
|
326
|
-
t2 = $[1];
|
|
327
|
-
}
|
|
328
|
-
t1 = t2;
|
|
329
|
-
const noise = t1;
|
|
330
|
-
let t3;
|
|
331
|
-
let t4;
|
|
332
|
-
if ($[2] !== id || $[3] !== noise || $[4] !== updateComputedData) {
|
|
333
|
-
t3 = () => {
|
|
334
|
-
if (noise?.length) {
|
|
335
|
-
const size = Math.ceil(Math.sqrt(noise.length));
|
|
336
|
-
const colors = noise.map(_temp2).flat();
|
|
337
|
-
const dataArray = new Uint8Array(size * size * 4);
|
|
338
|
-
dataArray.set(colors);
|
|
339
|
-
setResolution(size);
|
|
340
|
-
setDataLength(dataArray.length);
|
|
341
|
-
updateComputedData(id, {
|
|
342
|
-
textureData: dataArray,
|
|
343
|
-
textureResolutionX: size,
|
|
344
|
-
textureResolutionY: size
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
t4 = [noise, updateComputedData, id];
|
|
349
|
-
$[2] = id;
|
|
350
|
-
$[3] = noise;
|
|
351
|
-
$[4] = updateComputedData;
|
|
352
|
-
$[5] = t3;
|
|
353
|
-
$[6] = t4;
|
|
354
|
-
} else {
|
|
355
|
-
t3 = $[5];
|
|
356
|
-
t4 = $[6];
|
|
357
|
-
}
|
|
358
|
-
useEffect2(t3, t4);
|
|
359
|
-
let t5;
|
|
360
|
-
if ($[7] !== resolution) {
|
|
361
|
-
t5 = /* @__PURE__ */ jsxs3(Group2, { children: [
|
|
362
|
-
"Resolution: ",
|
|
363
|
-
resolution,
|
|
364
|
-
"x",
|
|
365
|
-
resolution
|
|
366
|
-
] });
|
|
367
|
-
$[7] = resolution;
|
|
368
|
-
$[8] = t5;
|
|
369
|
-
} else {
|
|
370
|
-
t5 = $[8];
|
|
371
|
-
}
|
|
372
|
-
const t6 = noise?.length || 0;
|
|
373
|
-
let t7;
|
|
374
|
-
if ($[9] !== t6) {
|
|
375
|
-
t7 = /* @__PURE__ */ jsxs3(Group2, { children: [
|
|
376
|
-
"Input Length: ",
|
|
377
|
-
t6
|
|
378
|
-
] });
|
|
379
|
-
$[9] = t6;
|
|
380
|
-
$[10] = t7;
|
|
381
|
-
} else {
|
|
382
|
-
t7 = $[10];
|
|
383
|
-
}
|
|
384
|
-
let t8;
|
|
385
|
-
if ($[11] !== dataLength || $[12] !== resolution) {
|
|
386
|
-
t8 = /* @__PURE__ */ jsxs3(Group2, { children: [
|
|
387
|
-
"Output Length (",
|
|
388
|
-
resolution,
|
|
389
|
-
"*",
|
|
390
|
-
resolution,
|
|
391
|
-
"*4): ",
|
|
392
|
-
dataLength
|
|
393
|
-
] });
|
|
394
|
-
$[11] = dataLength;
|
|
395
|
-
$[12] = resolution;
|
|
396
|
-
$[13] = t8;
|
|
397
|
-
} else {
|
|
398
|
-
t8 = $[13];
|
|
399
|
-
}
|
|
400
|
-
let t9;
|
|
401
|
-
if ($[14] !== t5 || $[15] !== t7 || $[16] !== t8) {
|
|
402
|
-
t9 = /* @__PURE__ */ jsxs3(Stack3, { children: [
|
|
403
|
-
t5,
|
|
404
|
-
t7,
|
|
405
|
-
t8
|
|
406
|
-
] });
|
|
407
|
-
$[14] = t5;
|
|
408
|
-
$[15] = t7;
|
|
409
|
-
$[16] = t8;
|
|
410
|
-
$[17] = t9;
|
|
411
|
-
} else {
|
|
412
|
-
t9 = $[17];
|
|
413
|
-
}
|
|
414
|
-
let t10;
|
|
415
|
-
if ($[18] !== data || $[19] !== id || $[20] !== selected || $[21] !== t9 || $[22] !== type) {
|
|
416
|
-
t10 = /* @__PURE__ */ jsx4(NodeContainer4, { id, selected, data, type, children: t9 });
|
|
417
|
-
$[18] = data;
|
|
418
|
-
$[19] = id;
|
|
419
|
-
$[20] = selected;
|
|
420
|
-
$[21] = t9;
|
|
421
|
-
$[22] = type;
|
|
422
|
-
$[23] = t10;
|
|
423
|
-
} else {
|
|
424
|
-
t10 = $[23];
|
|
425
|
-
}
|
|
426
|
-
return t10;
|
|
427
|
-
}
|
|
428
|
-
function _temp2(n) {
|
|
429
|
-
return [n.value * 255, n.value * 255, n.value * 255, 255];
|
|
430
|
-
}
|
|
431
|
-
function _temp(p) {
|
|
432
|
-
return p.noise;
|
|
433
|
-
}
|
|
434
|
-
var noise_raw_texture_node_default = NoiseRawTextureNode;
|
|
435
|
-
|
|
436
|
-
// src/nodes/output/positions-logger-node.tsx
|
|
437
|
-
import { useIncomingComputedData as useIncomingComputedData3 } from "@awesome-flow/core/hooks";
|
|
438
|
-
import { NodeContainer as NodeContainer5 } from "@awesome-flow/core/layout";
|
|
439
|
-
import { Divider as Divider2, Stack as Stack4, Text as Text2 } from "@mantine/core";
|
|
440
|
-
import { useMemo as useMemo3 } from "react";
|
|
441
|
-
import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
442
|
-
function PositionsLoggerNode({
|
|
443
|
-
id,
|
|
444
|
-
selected,
|
|
445
|
-
data,
|
|
446
|
-
type
|
|
447
|
-
}) {
|
|
448
|
-
const incoming = useIncomingComputedData3(id);
|
|
449
|
-
const positions = useMemo3(() => {
|
|
450
|
-
return incoming?.map((p) => p.positions).flat();
|
|
451
|
-
}, [incoming]);
|
|
452
|
-
return /* @__PURE__ */ jsxs4(NodeContainer5, { id, selected, data, type, children: [
|
|
453
|
-
/* @__PURE__ */ jsxs4(Text2, { children: [
|
|
454
|
-
"Size: ",
|
|
455
|
-
positions?.length || 0
|
|
456
|
-
] }),
|
|
457
|
-
/* @__PURE__ */ jsx5(Divider2, { h: 5 }),
|
|
458
|
-
/* @__PURE__ */ jsx5(Stack4, { children: positions?.map((v, i) => /* @__PURE__ */ jsxs4(Text2, { children: [
|
|
459
|
-
v.x,
|
|
460
|
-
":",
|
|
461
|
-
v.y,
|
|
462
|
-
":",
|
|
463
|
-
v.z
|
|
464
|
-
] }, i)) })
|
|
465
|
-
] });
|
|
466
|
-
}
|
|
467
|
-
var positions_logger_node_default = PositionsLoggerNode;
|
|
468
|
-
|
|
469
|
-
// src/templates/generators/noise-billow-template.ts
|
|
470
|
-
import { CoreHandleType } from "@awesome-flow/core/abstract";
|
|
471
|
-
import { IDGenerator } from "@awesome-flow/core/utils";
|
|
472
|
-
import { Position } from "@xyflow/system";
|
|
473
|
-
|
|
474
|
-
// src/abstract/templates.ts
|
|
475
|
-
var NoiseTemplateGroup = /* @__PURE__ */ ((NoiseTemplateGroup2) => {
|
|
476
|
-
NoiseTemplateGroup2["positions"] = "Positions";
|
|
477
|
-
NoiseTemplateGroup2["output"] = "Output";
|
|
478
|
-
NoiseTemplateGroup2["noiseGenerators"] = "Noise Generators";
|
|
479
|
-
NoiseTemplateGroup2["noiseModifiers"] = "Noise Modifiers";
|
|
480
|
-
NoiseTemplateGroup2["noiseSelectors"] = "Noise Selectors";
|
|
481
|
-
NoiseTemplateGroup2["noiseTransformers"] = "Noise Transformers";
|
|
482
|
-
return NoiseTemplateGroup2;
|
|
483
|
-
})(NoiseTemplateGroup || {});
|
|
484
|
-
|
|
485
|
-
// src/templates/generators/noise-billow-template.ts
|
|
486
|
-
var NoiseBillowNodeTemplateFactory = class {
|
|
487
|
-
template = {
|
|
488
|
-
id: IDGenerator.template(),
|
|
489
|
-
type: "noise-billow" /* noiseBillow */,
|
|
490
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
491
|
-
data: {
|
|
492
|
-
title: "Billow Noise",
|
|
493
|
-
frequency: 0.1,
|
|
494
|
-
lacunarity: 2,
|
|
495
|
-
octaves: 5,
|
|
496
|
-
persistence: 0.5,
|
|
497
|
-
seed: 0
|
|
498
|
-
},
|
|
499
|
-
handles: [
|
|
500
|
-
{
|
|
501
|
-
position: Position.Left,
|
|
502
|
-
dataType: CoreHandleType.variableProperty,
|
|
503
|
-
connection: "target"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
position: Position.Right,
|
|
507
|
-
dataType: "module" /* module */,
|
|
508
|
-
connection: "source"
|
|
509
|
-
}
|
|
510
|
-
]
|
|
511
|
-
};
|
|
512
|
-
};
|
|
513
|
-
|
|
514
|
-
// src/templates/generators/noise-checkerboard-template.ts
|
|
515
|
-
import { Position as Position2 } from "@xyflow/system";
|
|
516
|
-
var NoiseCheckerboardNodeTemplateFactory = class {
|
|
517
|
-
template = {
|
|
518
|
-
type: "noise-checkerboard" /* noiseCheckerboard */,
|
|
519
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
520
|
-
data: {
|
|
521
|
-
title: "Checkerboard Noise"
|
|
522
|
-
},
|
|
523
|
-
handles: [
|
|
524
|
-
{
|
|
525
|
-
position: Position2.Right,
|
|
526
|
-
dataType: "module" /* module */,
|
|
527
|
-
connection: "source"
|
|
528
|
-
}
|
|
529
|
-
]
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
|
|
533
|
-
// src/templates/generators/noise-const-template.ts
|
|
534
|
-
import { Position as Position3 } from "@xyflow/system";
|
|
535
|
-
var NoiseConstNodeTemplateFactory = class {
|
|
536
|
-
template = {
|
|
537
|
-
type: "noise-constant" /* noiseConst */,
|
|
538
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
539
|
-
data: {
|
|
540
|
-
title: "Const Value Noise",
|
|
541
|
-
noise: 0,
|
|
542
|
-
min: -1,
|
|
543
|
-
max: 1
|
|
544
|
-
},
|
|
545
|
-
handles: [
|
|
546
|
-
{
|
|
547
|
-
position: Position3.Right,
|
|
548
|
-
dataType: "module" /* module */,
|
|
549
|
-
connection: "source"
|
|
550
|
-
}
|
|
551
|
-
]
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
|
|
555
|
-
// src/templates/generators/noise-cylinders-template.ts
|
|
556
|
-
import { CoreHandleType as CoreHandleType2 } from "@awesome-flow/core/abstract";
|
|
557
|
-
import { Position as Position4 } from "@xyflow/system";
|
|
558
|
-
var NoiseCylindersNodeTemplateFactory = class {
|
|
559
|
-
template = {
|
|
560
|
-
type: "noise-cylinders" /* noiseCylinders */,
|
|
561
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
562
|
-
data: {
|
|
563
|
-
title: "Cylinders Noise",
|
|
564
|
-
frequency: 0.1
|
|
565
|
-
},
|
|
566
|
-
handles: [
|
|
567
|
-
{
|
|
568
|
-
position: Position4.Left,
|
|
569
|
-
dataType: CoreHandleType2.variableProperty,
|
|
570
|
-
connection: "target"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
position: Position4.Right,
|
|
574
|
-
dataType: "module" /* module */,
|
|
575
|
-
connection: "source"
|
|
576
|
-
}
|
|
577
|
-
]
|
|
578
|
-
};
|
|
579
|
-
};
|
|
580
|
-
|
|
581
|
-
// src/templates/generators/noise-perlin-template.ts
|
|
582
|
-
import { CoreHandleType as CoreHandleType3 } from "@awesome-flow/core/abstract";
|
|
583
|
-
import { Position as Position5 } from "@xyflow/system";
|
|
584
|
-
var NoisePerlinNodeTemplateFactory = class {
|
|
585
|
-
template = {
|
|
586
|
-
type: "noise-perlin" /* noisePerlin */,
|
|
587
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
588
|
-
data: {
|
|
589
|
-
title: "Perlin Noise",
|
|
590
|
-
frequency: 0.1,
|
|
591
|
-
lacunarity: 2,
|
|
592
|
-
octaves: 5,
|
|
593
|
-
persistence: 0.5,
|
|
594
|
-
seed: 0
|
|
595
|
-
},
|
|
596
|
-
handles: [
|
|
597
|
-
{
|
|
598
|
-
position: Position5.Left,
|
|
599
|
-
dataType: CoreHandleType3.variableProperty,
|
|
600
|
-
connection: "target"
|
|
601
|
-
},
|
|
602
|
-
{
|
|
603
|
-
position: Position5.Right,
|
|
604
|
-
dataType: "module" /* module */,
|
|
605
|
-
connection: "source"
|
|
606
|
-
}
|
|
607
|
-
]
|
|
608
|
-
};
|
|
609
|
-
};
|
|
610
|
-
|
|
611
|
-
// src/templates/generators/noise-ridgedmulti-template.ts
|
|
612
|
-
import { CoreHandleType as CoreHandleType4 } from "@awesome-flow/core/abstract";
|
|
613
|
-
import { Position as Position6 } from "@xyflow/system";
|
|
614
|
-
var NoiseRidgedMultiNodeTemplateFactory = class {
|
|
615
|
-
template = {
|
|
616
|
-
type: "noise-ridged-multi" /* noiseRidgedMulti */,
|
|
617
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
618
|
-
data: {
|
|
619
|
-
title: "Ridged Multi Noise",
|
|
620
|
-
frequency: 0.1,
|
|
621
|
-
lacunarity: 2,
|
|
622
|
-
octaves: 6,
|
|
623
|
-
offset: 1,
|
|
624
|
-
gain: 2,
|
|
625
|
-
seed: 0
|
|
626
|
-
},
|
|
627
|
-
handles: [
|
|
628
|
-
{
|
|
629
|
-
position: Position6.Left,
|
|
630
|
-
dataType: CoreHandleType4.variableProperty,
|
|
631
|
-
connection: "target"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
position: Position6.Right,
|
|
635
|
-
dataType: "module" /* module */,
|
|
636
|
-
connection: "source"
|
|
637
|
-
}
|
|
638
|
-
]
|
|
639
|
-
};
|
|
640
|
-
};
|
|
641
|
-
|
|
642
|
-
// src/templates/generators/noise-spheres-template.ts
|
|
643
|
-
import { CoreHandleType as CoreHandleType5 } from "@awesome-flow/core/abstract";
|
|
644
|
-
import { Position as Position7 } from "@xyflow/system";
|
|
645
|
-
var NoiseSpheresNodeTemplateFactory = class {
|
|
646
|
-
template = {
|
|
647
|
-
type: "noise-spheres" /* noiseSpheres */,
|
|
648
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
649
|
-
data: {
|
|
650
|
-
title: "Spheres Noise",
|
|
651
|
-
frequency: 0.1
|
|
652
|
-
},
|
|
653
|
-
handles: [
|
|
654
|
-
{
|
|
655
|
-
position: Position7.Left,
|
|
656
|
-
dataType: CoreHandleType5.variableProperty,
|
|
657
|
-
connection: "target"
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
position: Position7.Right,
|
|
661
|
-
dataType: "module" /* module */,
|
|
662
|
-
connection: "source"
|
|
663
|
-
}
|
|
664
|
-
]
|
|
665
|
-
};
|
|
666
|
-
};
|
|
667
|
-
|
|
668
|
-
// src/templates/generators/noise-voronoi-template.ts
|
|
669
|
-
import { CoreHandleType as CoreHandleType6 } from "@awesome-flow/core/abstract";
|
|
670
|
-
import { Position as Position8 } from "@xyflow/system";
|
|
671
|
-
var NoiseVoronoiNodeTemplateFactory = class {
|
|
672
|
-
template = {
|
|
673
|
-
type: "noise-voronoi" /* noiseVoronoi */,
|
|
674
|
-
group: "Noise Generators" /* noiseGenerators */,
|
|
675
|
-
data: {
|
|
676
|
-
title: "Voronoi Noise",
|
|
677
|
-
frequency: 0.1,
|
|
678
|
-
displacement: 1,
|
|
679
|
-
distance: true,
|
|
680
|
-
seed: 0
|
|
681
|
-
},
|
|
682
|
-
handles: [
|
|
683
|
-
{
|
|
684
|
-
position: Position8.Left,
|
|
685
|
-
dataType: CoreHandleType6.variableProperty,
|
|
686
|
-
connection: "target"
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
position: Position8.Right,
|
|
690
|
-
dataType: "module" /* module */,
|
|
691
|
-
connection: "source"
|
|
692
|
-
}
|
|
693
|
-
]
|
|
694
|
-
};
|
|
695
|
-
};
|
|
696
|
-
|
|
697
|
-
// src/templates/generators/position-const-template.ts
|
|
698
|
-
import { Position as Position9 } from "@xyflow/system";
|
|
699
|
-
var PositionConstNodeTemplateFactory = class {
|
|
700
|
-
template = {
|
|
701
|
-
type: "position" /* position */,
|
|
702
|
-
group: "Positions" /* positions */,
|
|
703
|
-
data: {
|
|
704
|
-
title: "Position Output",
|
|
705
|
-
position: { x: 0, y: 0, z: 0 }
|
|
706
|
-
},
|
|
707
|
-
handles: [
|
|
708
|
-
{
|
|
709
|
-
position: Position9.Right,
|
|
710
|
-
dataType: "position" /* position */,
|
|
711
|
-
connection: "source"
|
|
712
|
-
}
|
|
713
|
-
]
|
|
714
|
-
};
|
|
715
|
-
};
|
|
716
|
-
|
|
717
|
-
// src/templates/generators/position-grid-template.ts
|
|
718
|
-
import { Position as Position10 } from "@xyflow/system";
|
|
719
|
-
var PositionGridNodeTemplateFactory = class {
|
|
720
|
-
template = {
|
|
721
|
-
type: "grid" /* grid */,
|
|
722
|
-
group: "Positions" /* positions */,
|
|
723
|
-
data: {
|
|
724
|
-
title: "Grid Output",
|
|
725
|
-
center: { x: 0, y: 0, z: 0 },
|
|
726
|
-
radius: 1
|
|
727
|
-
},
|
|
728
|
-
handles: [
|
|
729
|
-
{
|
|
730
|
-
position: Position10.Right,
|
|
731
|
-
dataType: "position" /* position */,
|
|
732
|
-
connection: "source"
|
|
733
|
-
}
|
|
734
|
-
]
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
|
|
738
|
-
// src/templates/groups/module-group-template.ts
|
|
739
|
-
import {
|
|
740
|
-
CoreTemplateGroup
|
|
741
|
-
} from "@awesome-flow/core/abstract";
|
|
742
|
-
import { IDGenerator as IDGenerator2 } from "@awesome-flow/core/utils";
|
|
743
|
-
import { Position as Position11 } from "@xyflow/system";
|
|
744
|
-
var ModuleGroupNodeTemplateFactory = class {
|
|
745
|
-
template = {
|
|
746
|
-
id: IDGenerator2.template(),
|
|
747
|
-
type: "group-module" /* groupModule */,
|
|
748
|
-
group: CoreTemplateGroup.groups,
|
|
749
|
-
data: {
|
|
750
|
-
title: "Modules Group",
|
|
751
|
-
isGroup: true,
|
|
752
|
-
initialSize: {
|
|
753
|
-
width: 300,
|
|
754
|
-
height: 200
|
|
755
|
-
},
|
|
756
|
-
collapsedSize: {
|
|
757
|
-
width: 300,
|
|
758
|
-
height: 80
|
|
759
|
-
}
|
|
760
|
-
},
|
|
761
|
-
handles: [
|
|
762
|
-
{
|
|
763
|
-
position: Position11.Bottom,
|
|
764
|
-
dataType: "module" /* module */,
|
|
765
|
-
connection: "target",
|
|
766
|
-
maxConnections: 1,
|
|
767
|
-
hideOnCollapse: true
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
position: Position11.Right,
|
|
771
|
-
dataType: "module" /* module */,
|
|
772
|
-
connection: "source"
|
|
773
|
-
}
|
|
774
|
-
]
|
|
775
|
-
};
|
|
776
|
-
};
|
|
777
|
-
|
|
778
|
-
// src/templates/modifiers/noise-abs-template.ts
|
|
779
|
-
import { Position as Position12 } from "@xyflow/system";
|
|
780
|
-
var NoiseAbsNodeTemplateFactory = class {
|
|
781
|
-
template = {
|
|
782
|
-
type: "noise-abs" /* noiseAbs */,
|
|
783
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
784
|
-
data: {
|
|
785
|
-
title: "Abs Noise"
|
|
786
|
-
},
|
|
787
|
-
handles: [
|
|
788
|
-
{
|
|
789
|
-
position: Position12.Left,
|
|
790
|
-
dataType: "module" /* module */,
|
|
791
|
-
connection: "target",
|
|
792
|
-
maxConnections: 1
|
|
793
|
-
},
|
|
794
|
-
{
|
|
795
|
-
position: Position12.Right,
|
|
796
|
-
dataType: "module" /* module */,
|
|
797
|
-
connection: "source"
|
|
798
|
-
}
|
|
799
|
-
]
|
|
800
|
-
};
|
|
801
|
-
};
|
|
802
|
-
|
|
803
|
-
// src/templates/modifiers/noise-clamp-template.ts
|
|
804
|
-
import { Position as Position13 } from "@xyflow/system";
|
|
805
|
-
var NoiseClampNodeTemplateFactory = class {
|
|
806
|
-
template = {
|
|
807
|
-
type: "noise-clamp" /* noiseClamp */,
|
|
808
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
809
|
-
data: {
|
|
810
|
-
title: "Clamp Noise",
|
|
811
|
-
lowerBound: -1,
|
|
812
|
-
upperBound: 1
|
|
813
|
-
},
|
|
814
|
-
handles: [
|
|
815
|
-
{
|
|
816
|
-
position: Position13.Left,
|
|
817
|
-
dataType: "module" /* module */,
|
|
818
|
-
connection: "target",
|
|
819
|
-
maxConnections: 1
|
|
820
|
-
},
|
|
821
|
-
{
|
|
822
|
-
position: Position13.Right,
|
|
823
|
-
dataType: "module" /* module */,
|
|
824
|
-
connection: "source"
|
|
825
|
-
}
|
|
826
|
-
]
|
|
827
|
-
};
|
|
828
|
-
};
|
|
829
|
-
|
|
830
|
-
// src/templates/modifiers/noise-combine-template.ts
|
|
831
|
-
import { Position as Position14 } from "@xyflow/system";
|
|
832
|
-
var NoiseCombineNodeTemplateFactory = class {
|
|
833
|
-
template = {
|
|
834
|
-
type: "noise-combiner" /* noiseCombine */,
|
|
835
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
836
|
-
data: {
|
|
837
|
-
title: "Combine Noise",
|
|
838
|
-
operation: "add" /* add */
|
|
839
|
-
},
|
|
840
|
-
handles: [
|
|
841
|
-
{
|
|
842
|
-
position: Position14.Left,
|
|
843
|
-
dataType: "module" /* module */,
|
|
844
|
-
connection: "target",
|
|
845
|
-
maxConnections: 2
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
position: Position14.Right,
|
|
849
|
-
dataType: "module" /* module */,
|
|
850
|
-
connection: "source"
|
|
851
|
-
}
|
|
852
|
-
]
|
|
853
|
-
};
|
|
854
|
-
};
|
|
855
|
-
|
|
856
|
-
// src/templates/modifiers/noise-curve-template.ts
|
|
857
|
-
import { Position as Position15 } from "@xyflow/system";
|
|
858
|
-
var NoiseCurveNodeTemplateFactory = class {
|
|
859
|
-
template = {
|
|
860
|
-
type: "noise-curve" /* noiseCurve */,
|
|
861
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
862
|
-
data: {
|
|
863
|
-
title: "Noise Curve",
|
|
864
|
-
points: []
|
|
865
|
-
},
|
|
866
|
-
handles: [
|
|
867
|
-
{
|
|
868
|
-
position: Position15.Left,
|
|
869
|
-
dataType: "module" /* module */,
|
|
870
|
-
connection: "target",
|
|
871
|
-
maxConnections: 1
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
position: Position15.Right,
|
|
875
|
-
dataType: "module" /* module */,
|
|
876
|
-
connection: "source"
|
|
877
|
-
}
|
|
878
|
-
]
|
|
879
|
-
};
|
|
880
|
-
};
|
|
881
|
-
|
|
882
|
-
// src/templates/modifiers/noise-exponent-template.ts
|
|
883
|
-
import { Position as Position16 } from "@xyflow/system";
|
|
884
|
-
var NoiseExponentNodeTemplateFactory = class {
|
|
885
|
-
template = {
|
|
886
|
-
type: "noise-exponent" /* noiseExponent */,
|
|
887
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
888
|
-
data: {
|
|
889
|
-
title: "Noise Exponent",
|
|
890
|
-
exponent: 1
|
|
891
|
-
},
|
|
892
|
-
handles: [
|
|
893
|
-
{
|
|
894
|
-
position: Position16.Left,
|
|
895
|
-
dataType: "module" /* module */,
|
|
896
|
-
connection: "target",
|
|
897
|
-
maxConnections: 1
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
position: Position16.Right,
|
|
901
|
-
dataType: "module" /* module */,
|
|
902
|
-
connection: "source"
|
|
903
|
-
}
|
|
904
|
-
]
|
|
905
|
-
};
|
|
906
|
-
};
|
|
907
|
-
|
|
908
|
-
// src/templates/modifiers/noise-invert-template.ts
|
|
909
|
-
import { Position as Position17 } from "@xyflow/system";
|
|
910
|
-
var NoiseInvertNodeTemplateFactory = class {
|
|
911
|
-
template = {
|
|
912
|
-
type: "noise-invert" /* noiseInvert */,
|
|
913
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
914
|
-
data: {
|
|
915
|
-
title: "Invert Noise"
|
|
916
|
-
},
|
|
917
|
-
handles: [
|
|
918
|
-
{
|
|
919
|
-
position: Position17.Left,
|
|
920
|
-
dataType: "module" /* module */,
|
|
921
|
-
connection: "target",
|
|
922
|
-
maxConnections: 1
|
|
923
|
-
},
|
|
924
|
-
{
|
|
925
|
-
position: Position17.Right,
|
|
926
|
-
dataType: "module" /* module */,
|
|
927
|
-
connection: "source"
|
|
928
|
-
}
|
|
929
|
-
]
|
|
930
|
-
};
|
|
931
|
-
};
|
|
932
|
-
|
|
933
|
-
// src/templates/modifiers/noise-normalize-template.ts
|
|
934
|
-
import { IDGenerator as IDGenerator3 } from "@awesome-flow/core/utils";
|
|
935
|
-
import { Position as Position18 } from "@xyflow/system";
|
|
936
|
-
var NoiseNormalizeNodeTemplateFactory = class {
|
|
937
|
-
template = {
|
|
938
|
-
id: IDGenerator3.template(),
|
|
939
|
-
type: "noise-normalize" /* noiseNormalize */,
|
|
940
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
941
|
-
data: {
|
|
942
|
-
title: "Normalize Noise",
|
|
943
|
-
intervalStart: -1,
|
|
944
|
-
intervalEnd: 1
|
|
945
|
-
},
|
|
946
|
-
handles: [
|
|
947
|
-
{
|
|
948
|
-
position: Position18.Left,
|
|
949
|
-
dataType: "module" /* module */,
|
|
950
|
-
connection: "target",
|
|
951
|
-
maxConnections: 1
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
position: Position18.Right,
|
|
955
|
-
dataType: "module" /* module */,
|
|
956
|
-
connection: "source"
|
|
957
|
-
}
|
|
958
|
-
]
|
|
959
|
-
};
|
|
960
|
-
};
|
|
961
|
-
|
|
962
|
-
// src/templates/modifiers/noise-scalebias-template.ts
|
|
963
|
-
import { Position as Position19 } from "@xyflow/system";
|
|
964
|
-
var NoiseScaleBiasNodeTemplateFactory = class {
|
|
965
|
-
template = {
|
|
966
|
-
type: "noise-scale-bias" /* noiseScaleBias */,
|
|
967
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
968
|
-
data: {
|
|
969
|
-
title: "Scale/Bias Noise",
|
|
970
|
-
scale: 1,
|
|
971
|
-
bias: 0
|
|
972
|
-
},
|
|
973
|
-
handles: [
|
|
974
|
-
{
|
|
975
|
-
position: Position19.Left,
|
|
976
|
-
dataType: "module" /* module */,
|
|
977
|
-
connection: "target",
|
|
978
|
-
maxConnections: 1
|
|
979
|
-
},
|
|
980
|
-
{
|
|
981
|
-
position: Position19.Right,
|
|
982
|
-
dataType: "module" /* module */,
|
|
983
|
-
connection: "source"
|
|
984
|
-
}
|
|
985
|
-
]
|
|
986
|
-
};
|
|
987
|
-
};
|
|
988
|
-
|
|
989
|
-
// src/templates/modifiers/noise-terrace-template.ts
|
|
990
|
-
import { Position as Position20 } from "@xyflow/system";
|
|
991
|
-
var NoiseTerraceNodeTemplateFactory = class {
|
|
992
|
-
template = {
|
|
993
|
-
type: "noise-terrace" /* noiseTerrace */,
|
|
994
|
-
group: "Noise Modifiers" /* noiseModifiers */,
|
|
995
|
-
data: {
|
|
996
|
-
title: "Noise Terrace",
|
|
997
|
-
points: []
|
|
998
|
-
},
|
|
999
|
-
handles: [
|
|
1000
|
-
{
|
|
1001
|
-
position: Position20.Left,
|
|
1002
|
-
dataType: "module" /* module */,
|
|
1003
|
-
connection: "target",
|
|
1004
|
-
maxConnections: 1
|
|
1005
|
-
},
|
|
1006
|
-
{
|
|
1007
|
-
position: Position20.Right,
|
|
1008
|
-
dataType: "module" /* module */,
|
|
1009
|
-
connection: "source"
|
|
1010
|
-
}
|
|
1011
|
-
]
|
|
1012
|
-
};
|
|
1013
|
-
};
|
|
1014
|
-
|
|
1015
|
-
// src/templates/output/noise-logger-template.ts
|
|
1016
|
-
import { Position as Position21 } from "@xyflow/system";
|
|
1017
|
-
var NoiseLoggerNodeTemplateFactory = class {
|
|
1018
|
-
template = {
|
|
1019
|
-
type: "noise-logger" /* noiseLogger */,
|
|
1020
|
-
group: "Output" /* output */,
|
|
1021
|
-
data: {
|
|
1022
|
-
title: "Noise Logger"
|
|
1023
|
-
},
|
|
1024
|
-
handles: [
|
|
1025
|
-
{
|
|
1026
|
-
position: Position21.Left,
|
|
1027
|
-
dataType: "noise" /* noise */,
|
|
1028
|
-
connection: "target"
|
|
1029
|
-
}
|
|
1030
|
-
]
|
|
1031
|
-
};
|
|
1032
|
-
};
|
|
1033
|
-
|
|
1034
|
-
// src/templates/output/noise-output-template.ts
|
|
1035
|
-
import { Position as Position22 } from "@xyflow/system";
|
|
1036
|
-
var NoiseOutputNodeTemplateFactory = class {
|
|
1037
|
-
template = {
|
|
1038
|
-
type: "noise-output" /* noiseOutput */,
|
|
1039
|
-
group: "Output" /* output */,
|
|
1040
|
-
data: {
|
|
1041
|
-
title: "Noise Output"
|
|
1042
|
-
},
|
|
1043
|
-
handles: [
|
|
1044
|
-
{
|
|
1045
|
-
position: Position22.Left,
|
|
1046
|
-
dataType: "position" /* position */,
|
|
1047
|
-
connection: "target"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
position: Position22.Left,
|
|
1051
|
-
dataType: "module" /* module */,
|
|
1052
|
-
connection: "target",
|
|
1053
|
-
maxConnections: 1
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
position: Position22.Right,
|
|
1057
|
-
dataType: "noise" /* noise */,
|
|
1058
|
-
connection: "source"
|
|
1059
|
-
}
|
|
1060
|
-
]
|
|
1061
|
-
};
|
|
1062
|
-
};
|
|
1063
|
-
|
|
1064
|
-
// src/templates/output/noise-raw-texture-template.ts
|
|
1065
|
-
import { Position as Position23 } from "@xyflow/system";
|
|
1066
|
-
var NoiseRawTextureTemplateFactory = class {
|
|
1067
|
-
template = {
|
|
1068
|
-
type: "texture-data" /* textureData */,
|
|
1069
|
-
group: "Output" /* output */,
|
|
1070
|
-
data: {
|
|
1071
|
-
title: "Texture Data"
|
|
1072
|
-
},
|
|
1073
|
-
handles: [
|
|
1074
|
-
{
|
|
1075
|
-
position: Position23.Left,
|
|
1076
|
-
dataType: "noise" /* noise */,
|
|
1077
|
-
connection: "target",
|
|
1078
|
-
maxConnections: 1
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
position: Position23.Right,
|
|
1082
|
-
dataType: "texture" /* texture */,
|
|
1083
|
-
connection: "source"
|
|
1084
|
-
}
|
|
1085
|
-
]
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
|
-
|
|
1089
|
-
// src/templates/output/position-logger-template.ts
|
|
1090
|
-
import { Position as Position24 } from "@xyflow/system";
|
|
1091
|
-
var PositionLoggerNodeTemplateFactory = class {
|
|
1092
|
-
template = {
|
|
1093
|
-
type: "position-logger" /* positionLogger */,
|
|
1094
|
-
group: "Positions" /* positions */,
|
|
1095
|
-
data: {
|
|
1096
|
-
title: "Position Logger"
|
|
1097
|
-
},
|
|
1098
|
-
handles: [
|
|
1099
|
-
{
|
|
1100
|
-
position: Position24.Left,
|
|
1101
|
-
dataType: "position" /* position */,
|
|
1102
|
-
connection: "target"
|
|
1103
|
-
}
|
|
1104
|
-
]
|
|
1105
|
-
};
|
|
1106
|
-
};
|
|
1107
|
-
|
|
1108
|
-
// src/templates/selectors/noise-blend-template.ts
|
|
1109
|
-
import { Position as Position25 } from "@xyflow/system";
|
|
1110
|
-
var NoiseBlendNodeTemplateFactory = class {
|
|
1111
|
-
template = {
|
|
1112
|
-
type: "noise-blend" /* noiseBlend */,
|
|
1113
|
-
group: "Noise Selectors" /* noiseSelectors */,
|
|
1114
|
-
data: {
|
|
1115
|
-
title: "Noise Blend"
|
|
1116
|
-
},
|
|
1117
|
-
handles: [
|
|
1118
|
-
{
|
|
1119
|
-
position: Position25.Left,
|
|
1120
|
-
dataType: "module" /* module */,
|
|
1121
|
-
connection: "target",
|
|
1122
|
-
label: "Source Modules",
|
|
1123
|
-
dataId: "source" /* source */,
|
|
1124
|
-
maxConnections: 2,
|
|
1125
|
-
minConnections: 2
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
position: Position25.Left,
|
|
1129
|
-
dataType: "module" /* module */,
|
|
1130
|
-
dataId: "control" /* control */,
|
|
1131
|
-
connection: "target",
|
|
1132
|
-
label: "Control Module",
|
|
1133
|
-
maxConnections: 1
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
position: Position25.Right,
|
|
1137
|
-
dataType: "module" /* module */,
|
|
1138
|
-
dataId: "output" /* output */,
|
|
1139
|
-
connection: "source"
|
|
1140
|
-
}
|
|
1141
|
-
]
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
|
-
// src/templates/selectors/noise-select-template.ts
|
|
1146
|
-
import { Position as Position26 } from "@xyflow/system";
|
|
1147
|
-
var NoiseSelectNodeTemplateFactory = class {
|
|
1148
|
-
template = {
|
|
1149
|
-
type: "noise-select" /* noiseSelect */,
|
|
1150
|
-
group: "Noise Selectors" /* noiseSelectors */,
|
|
1151
|
-
data: {
|
|
1152
|
-
title: "Noise Select",
|
|
1153
|
-
edgeFalloff: 0,
|
|
1154
|
-
lowerBound: -1,
|
|
1155
|
-
upperBound: 1
|
|
1156
|
-
},
|
|
1157
|
-
handles: [
|
|
1158
|
-
{
|
|
1159
|
-
position: Position26.Left,
|
|
1160
|
-
dataType: "module" /* module */,
|
|
1161
|
-
dataId: "source" /* source */,
|
|
1162
|
-
connection: "target",
|
|
1163
|
-
label: "Source Modules",
|
|
1164
|
-
maxConnections: 2,
|
|
1165
|
-
minConnections: 2
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
position: Position26.Left,
|
|
1169
|
-
dataType: "module" /* module */,
|
|
1170
|
-
dataId: "control" /* control */,
|
|
1171
|
-
connection: "target",
|
|
1172
|
-
label: "Control Module",
|
|
1173
|
-
maxConnections: 1
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
position: Position26.Right,
|
|
1177
|
-
dataType: "module" /* module */,
|
|
1178
|
-
dataId: "output" /* output */,
|
|
1179
|
-
connection: "source"
|
|
1180
|
-
}
|
|
1181
|
-
]
|
|
1182
|
-
};
|
|
1183
|
-
};
|
|
1184
|
-
|
|
1185
|
-
// src/templates/transformers/noise-displace-template.ts
|
|
1186
|
-
import { Position as Position27 } from "@xyflow/system";
|
|
1187
|
-
var NoiseDisplaceNodeTemplateFactory = class {
|
|
1188
|
-
template = {
|
|
1189
|
-
type: "noise-displace" /* noiseDisplace */,
|
|
1190
|
-
group: "Noise Transformers" /* noiseTransformers */,
|
|
1191
|
-
data: {
|
|
1192
|
-
title: "Noise Displace"
|
|
1193
|
-
},
|
|
1194
|
-
handles: [
|
|
1195
|
-
{
|
|
1196
|
-
position: Position27.Left,
|
|
1197
|
-
connection: "target",
|
|
1198
|
-
label: "Source Module",
|
|
1199
|
-
dataType: "module" /* module */,
|
|
1200
|
-
dataId: "source" /* sourceModule */,
|
|
1201
|
-
maxConnections: 1
|
|
1202
|
-
},
|
|
1203
|
-
{
|
|
1204
|
-
position: Position27.Left,
|
|
1205
|
-
connection: "target",
|
|
1206
|
-
label: "X Module",
|
|
1207
|
-
dataType: "module" /* module */,
|
|
1208
|
-
dataId: "x-module" /* xModule */,
|
|
1209
|
-
maxConnections: 1
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
position: Position27.Left,
|
|
1213
|
-
connection: "target",
|
|
1214
|
-
label: "Y Module",
|
|
1215
|
-
dataType: "module" /* module */,
|
|
1216
|
-
dataId: "y-module" /* yModule */,
|
|
1217
|
-
maxConnections: 1
|
|
1218
|
-
},
|
|
1219
|
-
{
|
|
1220
|
-
position: Position27.Left,
|
|
1221
|
-
connection: "target",
|
|
1222
|
-
label: "Z Module",
|
|
1223
|
-
dataType: "module" /* module */,
|
|
1224
|
-
dataId: "z-module" /* zModule */,
|
|
1225
|
-
maxConnections: 1
|
|
1226
|
-
},
|
|
1227
|
-
{
|
|
1228
|
-
position: Position27.Right,
|
|
1229
|
-
dataType: "module" /* module */,
|
|
1230
|
-
dataId: "output" /* output */,
|
|
1231
|
-
connection: "source"
|
|
1232
|
-
}
|
|
1233
|
-
]
|
|
1234
|
-
};
|
|
1235
|
-
};
|
|
1236
|
-
|
|
1237
|
-
// src/templates/transformers/noise-rotate-point-template.ts
|
|
1238
|
-
import { Position as Position28 } from "@xyflow/system";
|
|
1239
|
-
var NoiseRotatePointNodeTemplateFactory = class {
|
|
1240
|
-
template = {
|
|
1241
|
-
type: "noise-rotate-point" /* noiseRotatePoint */,
|
|
1242
|
-
group: "Noise Transformers" /* noiseTransformers */,
|
|
1243
|
-
data: {
|
|
1244
|
-
title: "Noise Rotate Point",
|
|
1245
|
-
xAngle: 0,
|
|
1246
|
-
yAngle: 0,
|
|
1247
|
-
zAngle: 0
|
|
1248
|
-
},
|
|
1249
|
-
handles: [
|
|
1250
|
-
{
|
|
1251
|
-
position: Position28.Left,
|
|
1252
|
-
dataType: "module" /* module */,
|
|
1253
|
-
connection: "target",
|
|
1254
|
-
label: "Source Module",
|
|
1255
|
-
maxConnections: 1
|
|
1256
|
-
},
|
|
1257
|
-
{
|
|
1258
|
-
position: Position28.Right,
|
|
1259
|
-
dataType: "module" /* module */,
|
|
1260
|
-
connection: "source"
|
|
1261
|
-
}
|
|
1262
|
-
]
|
|
1263
|
-
};
|
|
1264
|
-
};
|
|
1265
|
-
|
|
1266
|
-
// src/templates/transformers/noise-scale-point-template.ts
|
|
1267
|
-
import { Position as Position29 } from "@xyflow/system";
|
|
1268
|
-
var NoiseScalePointNodeTemplateFactory = class {
|
|
1269
|
-
template = {
|
|
1270
|
-
type: "noise-scale-point" /* noiseScalePoint */,
|
|
1271
|
-
group: "Noise Transformers" /* noiseTransformers */,
|
|
1272
|
-
data: {
|
|
1273
|
-
title: "Noise Scale Point",
|
|
1274
|
-
xScale: 1,
|
|
1275
|
-
yScale: 1,
|
|
1276
|
-
zScale: 1
|
|
1277
|
-
},
|
|
1278
|
-
handles: [
|
|
1279
|
-
{
|
|
1280
|
-
position: Position29.Left,
|
|
1281
|
-
dataType: "module" /* module */,
|
|
1282
|
-
connection: "target",
|
|
1283
|
-
label: "Source Module",
|
|
1284
|
-
maxConnections: 1
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
position: Position29.Right,
|
|
1288
|
-
dataType: "module" /* module */,
|
|
1289
|
-
connection: "source"
|
|
1290
|
-
}
|
|
1291
|
-
]
|
|
1292
|
-
};
|
|
1293
|
-
};
|
|
1294
|
-
|
|
1295
|
-
// src/templates/transformers/noise-translate-point-template.ts
|
|
1296
|
-
import { Position as Position30 } from "@xyflow/system";
|
|
1297
|
-
var NoiseTranslatePointNodeTemplateFactory = class {
|
|
1298
|
-
template = {
|
|
1299
|
-
type: "noise-translate-point" /* noiseTranslatePoint */,
|
|
1300
|
-
group: "Noise Transformers" /* noiseTransformers */,
|
|
1301
|
-
data: {
|
|
1302
|
-
title: "Noise Translate Point",
|
|
1303
|
-
translateX: 0,
|
|
1304
|
-
translateY: 0,
|
|
1305
|
-
translateZ: 0
|
|
1306
|
-
},
|
|
1307
|
-
handles: [
|
|
1308
|
-
{
|
|
1309
|
-
position: Position30.Left,
|
|
1310
|
-
dataType: "module" /* module */,
|
|
1311
|
-
connection: "target",
|
|
1312
|
-
label: "Source Module",
|
|
1313
|
-
maxConnections: 1
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
position: Position30.Right,
|
|
1317
|
-
dataType: "module" /* module */,
|
|
1318
|
-
connection: "source"
|
|
1319
|
-
}
|
|
1320
|
-
]
|
|
1321
|
-
};
|
|
1322
|
-
};
|
|
1323
|
-
|
|
1324
|
-
// src/templates/transformers/noise-turbulence-template.ts
|
|
1325
|
-
import { CoreHandleType as CoreHandleType7 } from "@awesome-flow/core/abstract";
|
|
1326
|
-
import { Position as Position31 } from "@xyflow/system";
|
|
1327
|
-
var NoiseTurbulenceNodeTemplateFactory = class {
|
|
1328
|
-
template = {
|
|
1329
|
-
type: "noise-turbulence" /* noiseTurbulence */,
|
|
1330
|
-
group: "Noise Transformers" /* noiseTransformers */,
|
|
1331
|
-
data: {
|
|
1332
|
-
title: "Noise Turbulence",
|
|
1333
|
-
frequency: 1,
|
|
1334
|
-
power: 1,
|
|
1335
|
-
roughness: 1,
|
|
1336
|
-
seed: 0
|
|
1337
|
-
},
|
|
1338
|
-
handles: [
|
|
1339
|
-
{
|
|
1340
|
-
position: Position31.Left,
|
|
1341
|
-
dataType: "module" /* module */,
|
|
1342
|
-
connection: "target",
|
|
1343
|
-
label: "Source Module",
|
|
1344
|
-
maxConnections: 1
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
position: Position31.Left,
|
|
1348
|
-
dataType: CoreHandleType7.variableProperty,
|
|
1349
|
-
label: "Variable Properties",
|
|
1350
|
-
connection: "target"
|
|
1351
|
-
},
|
|
1352
|
-
{
|
|
1353
|
-
position: Position31.Right,
|
|
1354
|
-
dataType: "module" /* module */,
|
|
1355
|
-
connection: "source"
|
|
1356
|
-
}
|
|
1357
|
-
]
|
|
1358
|
-
};
|
|
1359
|
-
};
|
|
1360
|
-
|
|
1361
|
-
// src/abstract/node-types.ts
|
|
1362
|
-
var NoiseNodeType = /* @__PURE__ */ ((NoiseNodeType2) => {
|
|
1363
|
-
NoiseNodeType2["position"] = "position";
|
|
1364
|
-
NoiseNodeType2["grid"] = "grid";
|
|
1365
|
-
NoiseNodeType2["textureData"] = "texture-data";
|
|
1366
|
-
NoiseNodeType2["groupModule"] = "group-module";
|
|
1367
|
-
NoiseNodeType2["positionLogger"] = "position-logger";
|
|
1368
|
-
NoiseNodeType2["noiseLogger"] = "noise-logger";
|
|
1369
|
-
NoiseNodeType2["noiseOutput"] = "noise-output";
|
|
1370
|
-
NoiseNodeType2["noiseConst"] = "noise-constant";
|
|
1371
|
-
NoiseNodeType2["noiseBillow"] = "noise-billow";
|
|
1372
|
-
NoiseNodeType2["noiseCheckerboard"] = "noise-checkerboard";
|
|
1373
|
-
NoiseNodeType2["noiseNormalize"] = "noise-normalize";
|
|
1374
|
-
NoiseNodeType2["noiseCylinders"] = "noise-cylinders";
|
|
1375
|
-
NoiseNodeType2["noisePerlin"] = "noise-perlin";
|
|
1376
|
-
NoiseNodeType2["noiseRidgedMulti"] = "noise-ridged-multi";
|
|
1377
|
-
NoiseNodeType2["noiseSpheres"] = "noise-spheres";
|
|
1378
|
-
NoiseNodeType2["noiseVoronoi"] = "noise-voronoi";
|
|
1379
|
-
NoiseNodeType2["noiseCombine"] = "noise-combiner";
|
|
1380
|
-
NoiseNodeType2["noiseClamp"] = "noise-clamp";
|
|
1381
|
-
NoiseNodeType2["noiseAbs"] = "noise-abs";
|
|
1382
|
-
NoiseNodeType2["noiseCurve"] = "noise-curve";
|
|
1383
|
-
NoiseNodeType2["noiseExponent"] = "noise-exponent";
|
|
1384
|
-
NoiseNodeType2["noiseInvert"] = "noise-invert";
|
|
1385
|
-
NoiseNodeType2["noiseScaleBias"] = "noise-scale-bias";
|
|
1386
|
-
NoiseNodeType2["noiseTerrace"] = "noise-terrace";
|
|
1387
|
-
NoiseNodeType2["noiseBlend"] = "noise-blend";
|
|
1388
|
-
NoiseNodeType2["noiseSelect"] = "noise-select";
|
|
1389
|
-
NoiseNodeType2["noiseDisplace"] = "noise-displace";
|
|
1390
|
-
NoiseNodeType2["noiseRotatePoint"] = "noise-rotate-point";
|
|
1391
|
-
NoiseNodeType2["noiseScalePoint"] = "noise-scale-point";
|
|
1392
|
-
NoiseNodeType2["noiseTranslatePoint"] = "noise-translate-point";
|
|
1393
|
-
NoiseNodeType2["noiseTurbulence"] = "noise-turbulence";
|
|
1394
|
-
return NoiseNodeType2;
|
|
1395
|
-
})(NoiseNodeType || {});
|
|
1396
|
-
var noiseNodeTypes = {
|
|
1397
|
-
["group-module" /* groupModule */]: module_group_node_default,
|
|
1398
|
-
["position" /* position */]: position_const_node_default,
|
|
1399
|
-
["grid" /* grid */]: position_grid_node_default,
|
|
1400
|
-
["noise-output" /* noiseOutput */]: noise_output_node_default,
|
|
1401
|
-
["texture-data" /* textureData */]: noise_raw_texture_node_default,
|
|
1402
|
-
["noise-logger" /* noiseLogger */]: noise_logger_node_default,
|
|
1403
|
-
["position-logger" /* positionLogger */]: positions_logger_node_default,
|
|
1404
|
-
["noise-constant" /* noiseConst */]: noise_const_node_default,
|
|
1405
|
-
["noise-billow" /* noiseBillow */]: noise_billow_node_default,
|
|
1406
|
-
["noise-checkerboard" /* noiseCheckerboard */]: noise_checkerboard_node_default,
|
|
1407
|
-
["noise-cylinders" /* noiseCylinders */]: noise_cylinders_node_default,
|
|
1408
|
-
["noise-perlin" /* noisePerlin */]: noise_perlin_node_default,
|
|
1409
|
-
["noise-ridged-multi" /* noiseRidgedMulti */]: noise_ridgedmulti_node_default,
|
|
1410
|
-
["noise-spheres" /* noiseSpheres */]: noise_spheres_node_default,
|
|
1411
|
-
["noise-voronoi" /* noiseVoronoi */]: noise_voronoi_node_default,
|
|
1412
|
-
["noise-combiner" /* noiseCombine */]: noise_combine_node_default,
|
|
1413
|
-
["noise-clamp" /* noiseClamp */]: noise_clamp_node_default,
|
|
1414
|
-
["noise-abs" /* noiseAbs */]: noise_abs_node_default,
|
|
1415
|
-
["noise-normalize" /* noiseNormalize */]: noise_normalize_node_default,
|
|
1416
|
-
["noise-curve" /* noiseCurve */]: noise_curve_node_default,
|
|
1417
|
-
["noise-exponent" /* noiseExponent */]: noise_exponent_node_default,
|
|
1418
|
-
["noise-invert" /* noiseInvert */]: noise_invert_node_default,
|
|
1419
|
-
["noise-scale-bias" /* noiseScaleBias */]: noise_scale_bias_node_default,
|
|
1420
|
-
["noise-terrace" /* noiseTerrace */]: noise_terrace_node_default,
|
|
1421
|
-
["noise-blend" /* noiseBlend */]: noise_blend_node_default,
|
|
1422
|
-
["noise-select" /* noiseSelect */]: noise_select_node_default,
|
|
1423
|
-
["noise-displace" /* noiseDisplace */]: noise_displace_node_default,
|
|
1424
|
-
["noise-rotate-point" /* noiseRotatePoint */]: noise_rotate_point_node_default,
|
|
1425
|
-
["noise-scale-point" /* noiseScalePoint */]: noise_scale_point_node_default,
|
|
1426
|
-
["noise-translate-point" /* noiseTranslatePoint */]: noise_translate_point_node_default,
|
|
1427
|
-
["noise-turbulence" /* noiseTurbulence */]: noise_turbulence_node_default
|
|
1428
|
-
};
|
|
1429
|
-
var noiseNodeTemplates = {
|
|
1430
|
-
["noise-output" /* noiseOutput */]: new NoiseOutputNodeTemplateFactory(),
|
|
1431
|
-
["noise-billow" /* noiseBillow */]: new NoiseBillowNodeTemplateFactory(),
|
|
1432
|
-
["noise-checkerboard" /* noiseCheckerboard */]: new NoiseCheckerboardNodeTemplateFactory(),
|
|
1433
|
-
["noise-normalize" /* noiseNormalize */]: new NoiseNormalizeNodeTemplateFactory(),
|
|
1434
|
-
["noise-logger" /* noiseLogger */]: new NoiseLoggerNodeTemplateFactory(),
|
|
1435
|
-
["noise-constant" /* noiseConst */]: new NoiseConstNodeTemplateFactory(),
|
|
1436
|
-
["position" /* position */]: new PositionConstNodeTemplateFactory(),
|
|
1437
|
-
["position-logger" /* positionLogger */]: new PositionLoggerNodeTemplateFactory(),
|
|
1438
|
-
["grid" /* grid */]: new PositionGridNodeTemplateFactory(),
|
|
1439
|
-
["texture-data" /* textureData */]: new NoiseRawTextureTemplateFactory(),
|
|
1440
|
-
["noise-cylinders" /* noiseCylinders */]: new NoiseCylindersNodeTemplateFactory(),
|
|
1441
|
-
["noise-perlin" /* noisePerlin */]: new NoisePerlinNodeTemplateFactory(),
|
|
1442
|
-
["noise-ridged-multi" /* noiseRidgedMulti */]: new NoiseRidgedMultiNodeTemplateFactory(),
|
|
1443
|
-
["noise-spheres" /* noiseSpheres */]: new NoiseSpheresNodeTemplateFactory(),
|
|
1444
|
-
["noise-voronoi" /* noiseVoronoi */]: new NoiseVoronoiNodeTemplateFactory(),
|
|
1445
|
-
["noise-combiner" /* noiseCombine */]: new NoiseCombineNodeTemplateFactory(),
|
|
1446
|
-
["noise-clamp" /* noiseClamp */]: new NoiseClampNodeTemplateFactory(),
|
|
1447
|
-
["noise-abs" /* noiseAbs */]: new NoiseAbsNodeTemplateFactory(),
|
|
1448
|
-
["noise-curve" /* noiseCurve */]: new NoiseCurveNodeTemplateFactory(),
|
|
1449
|
-
["noise-exponent" /* noiseExponent */]: new NoiseExponentNodeTemplateFactory(),
|
|
1450
|
-
["noise-invert" /* noiseInvert */]: new NoiseInvertNodeTemplateFactory(),
|
|
1451
|
-
["noise-scale-bias" /* noiseScaleBias */]: new NoiseScaleBiasNodeTemplateFactory(),
|
|
1452
|
-
["noise-terrace" /* noiseTerrace */]: new NoiseTerraceNodeTemplateFactory(),
|
|
1453
|
-
["noise-blend" /* noiseBlend */]: new NoiseBlendNodeTemplateFactory(),
|
|
1454
|
-
["noise-select" /* noiseSelect */]: new NoiseSelectNodeTemplateFactory(),
|
|
1455
|
-
["noise-displace" /* noiseDisplace */]: new NoiseDisplaceNodeTemplateFactory(),
|
|
1456
|
-
["noise-rotate-point" /* noiseRotatePoint */]: new NoiseRotatePointNodeTemplateFactory(),
|
|
1457
|
-
["noise-scale-point" /* noiseScalePoint */]: new NoiseScalePointNodeTemplateFactory(),
|
|
1458
|
-
["noise-translate-point" /* noiseTranslatePoint */]: new NoiseTranslatePointNodeTemplateFactory(),
|
|
1459
|
-
["noise-turbulence" /* noiseTurbulence */]: new NoiseTurbulenceNodeTemplateFactory(),
|
|
1460
|
-
["group-module" /* groupModule */]: new ModuleGroupNodeTemplateFactory()
|
|
1461
|
-
};
|
|
1462
|
-
|
|
1463
|
-
// src/nodes/output/noise-output-node.tsx
|
|
1464
|
-
import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1465
|
-
function NoiseOutputNode(t0) {
|
|
1466
|
-
const $ = _c4(16);
|
|
1467
|
-
const {
|
|
1468
|
-
id,
|
|
1469
|
-
selected,
|
|
1470
|
-
data,
|
|
1471
|
-
type
|
|
1472
|
-
} = t0;
|
|
1473
|
-
const [size, setSize] = useState3(0);
|
|
1474
|
-
const updateComputedData = useUpdateNodeComputedData4();
|
|
1475
|
-
let t1;
|
|
1476
|
-
if ($[0] !== id || $[1] !== updateComputedData) {
|
|
1477
|
-
t1 = (handleData) => {
|
|
1478
|
-
const incomingPositions = handleData["position" /* position */];
|
|
1479
|
-
const incomingModule = handleData["module" /* module */];
|
|
1480
|
-
if (incomingPositions?.length && incomingModule?.length && incomingModule[0]?.module) {
|
|
1481
|
-
const {
|
|
1482
|
-
module
|
|
1483
|
-
} = incomingModule[0];
|
|
1484
|
-
const noise = [];
|
|
1485
|
-
for (const input of incomingPositions) {
|
|
1486
|
-
for (const position of input.positions) {
|
|
1487
|
-
const value = module.getValue(position.x, position.y, position.z);
|
|
1488
|
-
noise.push({
|
|
1489
|
-
position,
|
|
1490
|
-
value
|
|
1491
|
-
});
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
|
-
updateComputedData(id, {
|
|
1495
|
-
noise,
|
|
1496
|
-
module
|
|
1497
|
-
});
|
|
1498
|
-
setSize(noise.length);
|
|
1499
|
-
}
|
|
1500
|
-
};
|
|
1501
|
-
$[0] = id;
|
|
1502
|
-
$[1] = updateComputedData;
|
|
1503
|
-
$[2] = t1;
|
|
1504
|
-
} else {
|
|
1505
|
-
t1 = $[2];
|
|
1506
|
-
}
|
|
1507
|
-
const onDataUpdated = t1;
|
|
1508
|
-
let t2;
|
|
1509
|
-
if ($[3] !== data.handles || $[4] !== id || $[5] !== onDataUpdated) {
|
|
1510
|
-
t2 = /* @__PURE__ */ jsx6(HandlesIncomingDataStatus3, { nodeId: id, handles: data.handles, groupBy: "dataType", onDataUpdated, type: "target", resetComputedData: true });
|
|
1511
|
-
$[3] = data.handles;
|
|
1512
|
-
$[4] = id;
|
|
1513
|
-
$[5] = onDataUpdated;
|
|
1514
|
-
$[6] = t2;
|
|
1515
|
-
} else {
|
|
1516
|
-
t2 = $[6];
|
|
1517
|
-
}
|
|
1518
|
-
let t3;
|
|
1519
|
-
if ($[7] !== size) {
|
|
1520
|
-
t3 = /* @__PURE__ */ jsxs5(Text3, { mt: 5, children: [
|
|
1521
|
-
"Noise points: ",
|
|
1522
|
-
size
|
|
1523
|
-
] });
|
|
1524
|
-
$[7] = size;
|
|
1525
|
-
$[8] = t3;
|
|
1526
|
-
} else {
|
|
1527
|
-
t3 = $[8];
|
|
1528
|
-
}
|
|
1529
|
-
let t4;
|
|
1530
|
-
if ($[9] !== data || $[10] !== id || $[11] !== selected || $[12] !== t2 || $[13] !== t3 || $[14] !== type) {
|
|
1531
|
-
t4 = /* @__PURE__ */ jsxs5(NodeContainer6, { id, selected, data, type, children: [
|
|
1532
|
-
t2,
|
|
1533
|
-
t3
|
|
1534
|
-
] });
|
|
1535
|
-
$[9] = data;
|
|
1536
|
-
$[10] = id;
|
|
1537
|
-
$[11] = selected;
|
|
1538
|
-
$[12] = t2;
|
|
1539
|
-
$[13] = t3;
|
|
1540
|
-
$[14] = type;
|
|
1541
|
-
$[15] = t4;
|
|
1542
|
-
} else {
|
|
1543
|
-
t4 = $[15];
|
|
1544
|
-
}
|
|
1545
|
-
return t4;
|
|
1546
|
-
}
|
|
1547
|
-
var noise_output_node_default = NoiseOutputNode;
|
|
1548
|
-
|
|
1549
|
-
export {
|
|
1550
|
-
noise_logger_node_default,
|
|
1551
|
-
noise_output_node_default,
|
|
1552
|
-
noise_raw_texture_node_default,
|
|
1553
|
-
positions_logger_node_default,
|
|
1554
|
-
noise_blend_node_default,
|
|
1555
|
-
noise_select_node_default,
|
|
1556
|
-
NoiseTemplateGroup,
|
|
1557
|
-
NoiseBillowNodeTemplateFactory,
|
|
1558
|
-
NoiseCheckerboardNodeTemplateFactory,
|
|
1559
|
-
NoiseConstNodeTemplateFactory,
|
|
1560
|
-
NoiseCylindersNodeTemplateFactory,
|
|
1561
|
-
NoisePerlinNodeTemplateFactory,
|
|
1562
|
-
NoiseRidgedMultiNodeTemplateFactory,
|
|
1563
|
-
NoiseSpheresNodeTemplateFactory,
|
|
1564
|
-
NoiseVoronoiNodeTemplateFactory,
|
|
1565
|
-
PositionConstNodeTemplateFactory,
|
|
1566
|
-
PositionGridNodeTemplateFactory,
|
|
1567
|
-
ModuleGroupNodeTemplateFactory,
|
|
1568
|
-
NoiseAbsNodeTemplateFactory,
|
|
1569
|
-
NoiseClampNodeTemplateFactory,
|
|
1570
|
-
NoiseCombineNodeTemplateFactory,
|
|
1571
|
-
NoiseCurveNodeTemplateFactory,
|
|
1572
|
-
NoiseExponentNodeTemplateFactory,
|
|
1573
|
-
NoiseInvertNodeTemplateFactory,
|
|
1574
|
-
NoiseNormalizeNodeTemplateFactory,
|
|
1575
|
-
NoiseScaleBiasNodeTemplateFactory,
|
|
1576
|
-
NoiseTerraceNodeTemplateFactory,
|
|
1577
|
-
NoiseLoggerNodeTemplateFactory,
|
|
1578
|
-
NoiseOutputNodeTemplateFactory,
|
|
1579
|
-
NoiseRawTextureTemplateFactory,
|
|
1580
|
-
PositionLoggerNodeTemplateFactory,
|
|
1581
|
-
NoiseBlendNodeTemplateFactory,
|
|
1582
|
-
NoiseSelectNodeTemplateFactory,
|
|
1583
|
-
NoiseDisplaceNodeTemplateFactory,
|
|
1584
|
-
NoiseRotatePointNodeTemplateFactory,
|
|
1585
|
-
NoiseScalePointNodeTemplateFactory,
|
|
1586
|
-
NoiseTranslatePointNodeTemplateFactory,
|
|
1587
|
-
NoiseTurbulenceNodeTemplateFactory,
|
|
1588
|
-
NoiseNodeType,
|
|
1589
|
-
noiseNodeTypes,
|
|
1590
|
-
noiseNodeTemplates
|
|
1591
|
-
};
|