fastnoiselite-builder 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,19 @@
1
+ import { ANoiseBuilder } from '../../builder/ANoiseBuilder';
2
+ export declare class TSLNoiseBuilder2D extends ANoiseBuilder {
3
+ buildTSL2D(): (...params: (number | import("three/src/Three.WebGPU.Nodes.js").Node)[] | readonly [import("three/tsl").ProxiedObject<{
4
+ [name: string]: number | import("three/src/Three.WebGPU.Nodes.js").Node;
5
+ }>]) => import("three/src/Three.WebGPU.Nodes.js").Node;
6
+ /**
7
+ * Original path: no domain warp
8
+ */
9
+ private buildNoWarp2D;
10
+ /**
11
+ * Warp-enabled path: single wgslFn with deduplicated helpers
12
+ */
13
+ private buildWithWarp2D;
14
+ private buildWarpDispatch2D;
15
+ private buildNoiseFractal2DCore;
16
+ private getWarpWGSL2D;
17
+ private getBaseNoiseWGSLCore2D;
18
+ private getBaseNoiseWGSL2D;
19
+ }
@@ -0,0 +1,36 @@
1
+ import { ANoiseBuilder } from '../../builder/ANoiseBuilder';
2
+ export declare class TSLNoiseBuilder3D extends ANoiseBuilder {
3
+ buildTSL3D(): (...params: (number | import("three/src/Three.WebGPU.Nodes.js").Node)[] | readonly [import("three/tsl").ProxiedObject<{
4
+ [name: string]: number | import("three/src/Three.WebGPU.Nodes.js").Node;
5
+ }>]) => import("three/src/Three.WebGPU.Nodes.js").Node;
6
+ /**
7
+ * Original path: no domain warp, unchanged from before
8
+ */
9
+ private buildNoWarp3D;
10
+ /**
11
+ * Warp-enabled path: single wgslFn with deduplicated helpers
12
+ */
13
+ private buildWithWarp3D;
14
+ /**
15
+ * Build warp dispatch code for the entry function.
16
+ * Warp functions return unit displacement; amplitude is applied here.
17
+ */
18
+ private buildWarpDispatch3D;
19
+ /**
20
+ * Build noise + fractal WGSL from core-only noise (no helpers)
21
+ */
22
+ private buildNoiseFractal3DCore;
23
+ /**
24
+ * Get warp WGSL core function and its helper requirements
25
+ */
26
+ private getWarpWGSL3D;
27
+ /**
28
+ * Get noise WGSL core function (no helpers) and its helper requirements
29
+ */
30
+ private getBaseNoiseWGSLCore3D;
31
+ /**
32
+ * Get amplitude multiplier for 3D domain warp (type-specific)
33
+ */
34
+ private getWarpAmplitudeMultiplier3D;
35
+ private getBaseNoiseWGSL3D;
36
+ }
@@ -0,0 +1,2 @@
1
+ export { TSLNoiseBuilder2D } from './TSLNoiseBuilder2D';
2
+ export { TSLNoiseBuilder3D } from './TSLNoiseBuilder3D';
@@ -0,0 +1,3 @@
1
+ export { TSLNoiseBuilder2D } from './builder/TSLNoiseBuilder2D';
2
+ export { TSLNoiseBuilder3D } from './builder/TSLNoiseBuilder3D';
3
+ export { NoiseType, FractalType, CellularDistanceFunction, CellularReturnType, DomainWarpType, DomainWarpFractalType, RotationType3D, TransformType3D, } from '../types';