@wildshard/sdk 0.2.13 → 0.3.1
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/GUIDE.md +26 -13
- package/bin/wildshard.mjs +2 -1
- package/docs/api/EXPORT-TIERS.md +16 -4
- package/lint/export-tiers.json +12 -0
- package/lint/host-callbacks.mjs +1 -1
- package/package.json +22 -6
- package/scripts/bake/template-skins.mjs +6 -3
- package/scripts/bake/template-warden.mjs +25 -0
- package/scripts/build-shardfiles.mjs +7 -2
- package/scripts/export-ci21-guests.mjs +89 -0
- package/scripts/prepare-product.mjs +2 -2
- package/scripts/scratch-sweep.mjs +182 -0
- package/scripts/wildshard.mjs +1 -1
- package/skills/wildshard-mockup-to-model/SKILL.md +5 -3
- package/skills/wildshard-upgrade/SKILL.md +4 -4
- package/src/cli/help.ts +9 -5
- package/src/cli/upload/validate.ts +7 -5
- package/src/sharddev/as/prelude.ts +67 -0
- package/src/sharddev/assets.ts +1 -1
- package/src/sharddev/authorLint.ts +45 -0
- package/src/sharddev/bake/compactGlb.ts +1 -1
- package/src/sharddev/bake/compileScript.ts +6 -0
- package/src/sharddev/bake/glbCompression.ts +1 -1
- package/src/sharddev/bake/gltfSource.ts +1 -1
- package/src/sharddev/bake/placeholders.ts +1 -1
- package/src/sharddev/bake/terrain.ts +12 -3
- package/src/sharddev/blobBytes.ts +1 -1
- package/src/sharddev/blobs.ts +2 -2
- package/src/sharddev/checkProject.ts +7 -18
- package/src/sharddev/cli.ts +17 -4
- package/src/sharddev/engineMusic.ts +23 -0
- package/src/sharddev/formatJsonSchema.ts +1 -1
- package/src/sharddev/materialGraphFiles.ts +1 -1
- package/src/sharddev/materials.ts +7 -3
- package/src/sharddev/newProject.ts +18 -10
- package/src/sharddev/outputProduct.ts +2 -2
- package/src/sharddev/productOutput.ts +2 -2
- package/src/sharddev/project.ts +6 -1
- package/src/sharddev/projectMap.ts +1 -1
- package/src/sharddev/refusals.ts +5 -3
- package/src/sharddev/reportCard.ts +1 -1
- package/src/sharddev/scene/author.ts +184 -0
- package/src/sharddev/scene/canvas.ts +212 -0
- package/src/sharddev/scene/description.ts +223 -0
- package/src/sharddev/scene/hash.ts +23 -0
- package/src/sharddev/scene/lower.ts +341 -0
- package/src/sharddev/scene/shard.ts +41 -0
- package/src/sharddev/scene/shardfile.ts +621 -0
- package/src/sharddev/threeGate.mjs +14 -0
- package/src/sharddev/threePin.mjs +40 -0
- package/src/sharddev/watch/page.ts +284 -0
- package/src/sharddev/watch/pageEntry.ts +59 -0
- package/src/sharddev/watch/parity-baseline.json +22 -0
- package/src/sharddev/watch/parity.mjs +168 -0
- package/src/sharddev/watch/proof.mjs +199 -0
- package/src/sharddev/watch/protocol.ts +166 -0
- package/src/sharddev/watch/socket.ts +57 -0
- package/src/sharddev/watch/watch.ts +373 -0
- package/src/shards/_template/assets/3058c100bc477fd6fe8268f33b53756b8a2556e7e41c58b2216c703ca7b042c6 +1 -0
- package/src/shards/_template/assets/8a0440f392737a31cf0926a3c7dc011c320144972882945a5462c893e817d94a +0 -0
- package/src/shards/_template/behaviour/door.as +16 -26
- package/src/shards/_template/card/landscape.jpg +0 -0
- package/src/shards/_template/card/portrait.jpg +0 -0
- package/src/shards/_template/card/thumb.jpg +0 -0
- package/src/shards/_template/data/clientScripts.json +43 -43
- package/src/shards/_template/data/creatures.json +2 -2
- package/src/shards/_template/data/look.json +141 -13
- package/src/shards/_template/data/rows.json +20 -2
- package/src/shards/_template/data/skins.json +32 -0
- package/src/shards/_template/data/water.json +18 -0
- package/src/shards/_template/generators/product.ts +5 -1
- package/src/shards/_template/generators/warden.ts +273 -0
- package/src/shards/_template/generators/world.ts +52 -21
- package/src/shards/_template/hero.json +6 -6
- package/src/shards/authoring-slice/generators/shard.ts +14 -0
- package/src/shards/authoring-slice/generators/sky.ts +64 -0
- package/src/shards/authoring-slice/generators/template-sky.ts +27 -0
- package/src/shards/authoring-slice/generators/textures.ts +232 -0
- package/src/shards/authoring-slice/generators/world.ts +518 -0
- package/src/shards/authoring-slice/shard.config.ts +7 -0
- package/src/shards/mossgate/generators/shard.ts +6 -0
- package/src/shards/mossgate/generators/sky.ts +64 -0
- package/src/shards/mossgate/generators/textures.ts +249 -0
- package/src/shards/mossgate/generators/world.ts +998 -0
- package/src/shards/mossgate/shard.config.ts +7 -0
- package/scripts/shard-output-report.d.mts +0 -9
- package/scripts/shard-output-report.mjs +0 -85
- package/scripts/shard-platform-cli.mjs +0 -93
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
// Procedural textures, ported from the Mossgate cleanroom (mossgate-cleanroom 9cb4dc6 src/textures.js). The painters are the
|
|
2
|
+
// cleanroom's own lines; only `canvas()` / `new CanvasTexture(c)` became `paint` / `paintCanvas`, which run at compile time.
|
|
3
|
+
import type { DataTexture } from 'three';
|
|
4
|
+
import { paint } from '@wildshard/sdk/scene/author';
|
|
5
|
+
import { paintCanvas, type PaintContext } from '@wildshard/sdk/scene/canvas';
|
|
6
|
+
|
|
7
|
+
export function rng(seed = 1): () => number {
|
|
8
|
+
let s = seed >>> 0;
|
|
9
|
+
return () => {
|
|
10
|
+
s = (s + 0x6d2b79f5) >>> 0;
|
|
11
|
+
let t = s;
|
|
12
|
+
t = Math.imul(t ^ (t >>> 15), t | 1);
|
|
13
|
+
t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
|
|
14
|
+
return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface Noise { (x: number, y: number): number; fbm: (x: number, y: number, oct?: number) => number }
|
|
19
|
+
// Smooth value noise, 2D, tileable over `period`.
|
|
20
|
+
export function makeNoise(seed = 7): Noise {
|
|
21
|
+
const r = rng(seed);
|
|
22
|
+
const N = 256;
|
|
23
|
+
const g = new Float32Array(N * N);
|
|
24
|
+
for (let i = 0; i < g.length; i++) g[i] = r();
|
|
25
|
+
const at = (x: number, y: number): number => g[((y & (N - 1)) * N) + (x & (N - 1))] ?? 0;
|
|
26
|
+
const sm = (t: number): number => t * t * (3 - 2 * t);
|
|
27
|
+
const n = (x: number, y: number): number => {
|
|
28
|
+
const xi = Math.floor(x), yi = Math.floor(y);
|
|
29
|
+
const xf = sm(x - xi), yf = sm(y - yi);
|
|
30
|
+
const a = at(xi, yi), b = at(xi + 1, yi), c = at(xi, yi + 1), d = at(xi + 1, yi + 1);
|
|
31
|
+
return a + (b - a) * xf + (c - a) * yf + (a - b - c + d) * xf * yf;
|
|
32
|
+
};
|
|
33
|
+
const fbm = (x: number, y: number, oct = 4): number => {
|
|
34
|
+
let s = 0, amp = 0.5, f = 1;
|
|
35
|
+
for (let i = 0; i < oct; i++) { s += amp * n(x * f, y * f); amp *= 0.5; f *= 2; }
|
|
36
|
+
return s;
|
|
37
|
+
};
|
|
38
|
+
return Object.assign(n, { fbm });
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
type Rgb = [number, number, number];
|
|
42
|
+
const mix = (a: number, b: number, t: number): number => a + (b - a) * t;
|
|
43
|
+
const mix3 = (a: readonly number[], b: readonly number[], t: number): Rgb => [mix(a[0] ?? 0, b[0] ?? 0, t), mix(a[1] ?? 0, b[1] ?? 0, t), mix(a[2] ?? 0, b[2] ?? 0, t)];
|
|
44
|
+
const clamp = (v: number, lo = 0, hi = 1): number => Math.max(lo, Math.min(hi, v));
|
|
45
|
+
|
|
46
|
+
// Weathered warm-grey stone with moss blotches and edge darkening.
|
|
47
|
+
export function stone(seed = 3, { moss = 0.35 } = {}): DataTexture {
|
|
48
|
+
const n = makeNoise(seed);
|
|
49
|
+
const S = 512;
|
|
50
|
+
const g1 = [106, 102, 94], g2 = [150, 145, 134], mossC = [84, 104, 38];
|
|
51
|
+
return paint(S, S, (u, v) => {
|
|
52
|
+
const a = n.fbm(u * 8, v * 8, 5);
|
|
53
|
+
const sp = n(u * 120, v * 120);
|
|
54
|
+
let col = mix3(g1, g2, clamp(a * 1.6 - 0.3));
|
|
55
|
+
col = col.map((x) => x * (0.85 + sp * 0.25)) as Rgb;
|
|
56
|
+
// cracks
|
|
57
|
+
const cr = Math.abs(n.fbm(u * 6 + 5, v * 6 + 2, 3) - 0.5);
|
|
58
|
+
if (cr < 0.012) col = col.map((x) => x * 0.6) as Rgb;
|
|
59
|
+
// moss: favours the top of a face (v small)
|
|
60
|
+
const m = n.fbm(u * 10 + 3, v * 10 + 7, 4) + (1 - v) * 0.25 * moss * 2;
|
|
61
|
+
const t = clamp((m - (1 - moss)) * 6);
|
|
62
|
+
col = mix3(col, mossC.map((x) => x * (0.8 + sp * 0.4)), t);
|
|
63
|
+
// edge darkening for bevel read
|
|
64
|
+
const e = Math.min(u, v, 1 - u, 1 - v);
|
|
65
|
+
const ed = clamp(e * 18, 0.7, 1);
|
|
66
|
+
return col.map((x) => x * ed);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
// Flat slab stone for the path: lighter, pink-grey, no moss on top.
|
|
71
|
+
export function slab(): DataTexture {
|
|
72
|
+
const n = makeNoise(21);
|
|
73
|
+
const S = 256;
|
|
74
|
+
return paint(S, S, (u, v) => {
|
|
75
|
+
const a = n.fbm(u * 6, v * 6, 4);
|
|
76
|
+
const sp = n(u * 90, v * 90);
|
|
77
|
+
const col = mix3([126, 120, 110], [164, 156, 142], clamp(a * 1.5 - 0.2));
|
|
78
|
+
const e = Math.min(u, v, 1 - u, 1 - v);
|
|
79
|
+
const ed = clamp(e * 14, 0.72, 1);
|
|
80
|
+
return col.map((x) => x * (0.88 + sp * 0.2) * ed);
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function wood(): DataTexture {
|
|
85
|
+
const n = makeNoise(5);
|
|
86
|
+
const S = 256;
|
|
87
|
+
return paint(S, S, (u, v) => {
|
|
88
|
+
const grain = n(u * 4, v * 60) * 0.6 + n(u * 2, v * 140) * 0.4;
|
|
89
|
+
return mix3([84, 58, 38], [138, 98, 62], grain);
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function shingle(): DataTexture {
|
|
94
|
+
const n = makeNoise(9);
|
|
95
|
+
const S = 256;
|
|
96
|
+
return paint(S, S, (u, v) => {
|
|
97
|
+
const a = n.fbm(u * 8, v * 8, 4);
|
|
98
|
+
const sp = n(u * 100, v * 100);
|
|
99
|
+
let col = mix3([104, 96, 78], [128, 120, 96], a);
|
|
100
|
+
col = mix3(col, [112, 130, 50], clamp((n.fbm(u * 5 + 3, v * 5, 3) - 0.5) * 3));
|
|
101
|
+
return col.map((x) => x * (0.85 + sp * 0.3));
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Painted floor/wall stencil ("A", "3x3"), white on transparent.
|
|
106
|
+
export function stencil(text: string, { w = 256, h = 128, font = 'bold 96px monospace', alpha = 0.75 } = {}): DataTexture {
|
|
107
|
+
return paintCanvas(w, h, (ctx) => {
|
|
108
|
+
ctx.clearRect(0, 0, w, h);
|
|
109
|
+
ctx.fillStyle = `rgba(235,228,214,${alpha})`;
|
|
110
|
+
ctx.font = font;
|
|
111
|
+
ctx.textAlign = 'center';
|
|
112
|
+
ctx.textBaseline = 'middle';
|
|
113
|
+
ctx.fillText(text, w / 2, h / 2 + 4);
|
|
114
|
+
// scuff it
|
|
115
|
+
const r = rng(text.length * 31);
|
|
116
|
+
ctx.globalCompositeOperation = 'destination-out';
|
|
117
|
+
for (let i = 0; i < 260; i++) {
|
|
118
|
+
ctx.fillStyle = `rgba(0,0,0,${r() * 0.6})`;
|
|
119
|
+
ctx.fillRect(r() * w, r() * h, 1 + r() * 4, 1 + r() * 3);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Soft round glow sprite.
|
|
125
|
+
export function glow(): DataTexture {
|
|
126
|
+
return paintCanvas(128, 128, (ctx) => {
|
|
127
|
+
const g = ctx.createRadialGradient(64, 64, 0, 64, 64, 64);
|
|
128
|
+
g.addColorStop(0, 'rgba(255,240,200,1)');
|
|
129
|
+
g.addColorStop(0.25, 'rgba(255,190,90,0.6)');
|
|
130
|
+
g.addColorStop(1, 'rgba(255,140,40,0)');
|
|
131
|
+
ctx.fillStyle = g;
|
|
132
|
+
ctx.fillRect(0, 0, 128, 128);
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
// Ivy strand: a wavy stem with heart-shaped leaves, top to bottom.
|
|
137
|
+
export function ivy(): DataTexture {
|
|
138
|
+
return paintCanvas(128, 512, (ctx: PaintContext) => {
|
|
139
|
+
ctx.clearRect(0, 0, 128, 512);
|
|
140
|
+
const r = rng(13);
|
|
141
|
+
ctx.strokeStyle = '#4a5a22'; ctx.lineWidth = 3;
|
|
142
|
+
ctx.beginPath(); ctx.moveTo(64, 0);
|
|
143
|
+
for (let y = 0; y <= 512; y += 16) ctx.lineTo(64 + Math.sin(y / 40) * 14, y);
|
|
144
|
+
ctx.stroke();
|
|
145
|
+
for (let y = 8; y < 500; y += 13) {
|
|
146
|
+
const x = 64 + Math.sin(y / 40) * 14, s = r() < 0.5 ? -1 : 1, sz = 10 + r() * 9 - y / 120;
|
|
147
|
+
const l = 0.7 + r() * 0.4;
|
|
148
|
+
ctx.fillStyle = `rgb(${Math.round(92 * l)},${Math.round(128 * l)},${Math.round(40 * l)})`;
|
|
149
|
+
ctx.save(); ctx.translate(x + s * sz * 0.8, y); ctx.rotate(s * (0.4 + r() * 0.6));
|
|
150
|
+
ctx.beginPath(); ctx.moveTo(0, -sz * 0.2);
|
|
151
|
+
ctx.bezierCurveTo(sz, -sz, sz * 1.1, sz * 0.4, 0, sz); ctx.bezierCurveTo(-sz * 1.1, sz * 0.4, -sz, -sz, 0, -sz * 0.2);
|
|
152
|
+
ctx.fill(); ctx.restore();
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
// Hanging moss: shaggy strands, dense at the top, thinning to wisps.
|
|
158
|
+
export function hangingMoss(): DataTexture {
|
|
159
|
+
return paintCanvas(256, 256, (ctx) => {
|
|
160
|
+
ctx.clearRect(0, 0, 256, 256);
|
|
161
|
+
const r = rng(29);
|
|
162
|
+
for (let i = 0; i < 90; i++) {
|
|
163
|
+
const x = r() * 256, len = 40 + r() * 200 * r(), w = 3 + r() * 6;
|
|
164
|
+
const l = 0.75 + r() * 0.35;
|
|
165
|
+
const g = ctx.createLinearGradient(0, 0, 0, len);
|
|
166
|
+
g.addColorStop(0, `rgba(${Math.round(98 * l)},${Math.round(118 * l)},${Math.round(40 * l)},1)`);
|
|
167
|
+
g.addColorStop(1, `rgba(${Math.round(130 * l)},${Math.round(142 * l)},${Math.round(60 * l)},0)`);
|
|
168
|
+
ctx.fillStyle = g;
|
|
169
|
+
ctx.beginPath(); ctx.moveTo(x - w, 0); ctx.quadraticCurveTo(x + (r() - 0.5) * 10, len * 0.6, x + (r() - 0.5) * 8, len); ctx.lineTo(x + w, 0); ctx.fill();
|
|
170
|
+
}
|
|
171
|
+
ctx.fillStyle = 'rgb(84,104,36)'; ctx.fillRect(0, 0, 256, 10);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Fern frond: a tapered stem with paired leaflets, root at the bottom.
|
|
176
|
+
export function frond(): DataTexture {
|
|
177
|
+
return paintCanvas(128, 512, (ctx) => {
|
|
178
|
+
ctx.clearRect(0, 0, 128, 512);
|
|
179
|
+
const grad = ctx.createLinearGradient(0, 512, 0, 0);
|
|
180
|
+
grad.addColorStop(0, '#3e5a1c');
|
|
181
|
+
grad.addColorStop(1, '#8fae3c');
|
|
182
|
+
ctx.fillStyle = grad;
|
|
183
|
+
ctx.strokeStyle = grad;
|
|
184
|
+
ctx.lineWidth = 4;
|
|
185
|
+
ctx.beginPath(); ctx.moveTo(64, 512); ctx.lineTo(64, 10); ctx.stroke();
|
|
186
|
+
for (let y = 40; y < 500; y += 16) {
|
|
187
|
+
const len = 54 * Math.sin(((y - 20) / 490) * Math.PI) + 4;
|
|
188
|
+
for (const s of [-1, 1]) {
|
|
189
|
+
ctx.beginPath();
|
|
190
|
+
ctx.ellipse(64 + s * len * 0.5, y - 6, len * 0.5, 6, s * -0.35, 0, Math.PI * 2);
|
|
191
|
+
ctx.fill();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// Grass blade card: a fan of tapered blades.
|
|
198
|
+
export function grassCard(): DataTexture {
|
|
199
|
+
return paintCanvas(128, 128, (ctx) => {
|
|
200
|
+
ctx.clearRect(0, 0, 128, 128);
|
|
201
|
+
const r = rng(4);
|
|
202
|
+
for (let i = 0; i < 14; i++) {
|
|
203
|
+
const x = 20 + r() * 88, h = 60 + r() * 64, lean = (r() - 0.5) * 40;
|
|
204
|
+
const g = ctx.createLinearGradient(0, 128, 0, 128 - h);
|
|
205
|
+
g.addColorStop(0, '#6a8a2e'); g.addColorStop(1, r() < 0.3 ? '#c6cc6a' : '#a4c04c');
|
|
206
|
+
ctx.fillStyle = g;
|
|
207
|
+
ctx.beginPath(); ctx.moveTo(x - 3, 128); ctx.quadraticCurveTo(x + lean * 0.4, 128 - h * 0.6, x + lean, 128 - h); ctx.lineTo(x + 3, 128); ctx.fill();
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// Flame sprite: five pointed tongues in three layers, red-orange outside, orange, then a yellow-white core.
|
|
213
|
+
export function flameSprite(): DataTexture {
|
|
214
|
+
return paintCanvas(128, 256, (ctx) => {
|
|
215
|
+
ctx.clearRect(0, 0, 128, 256);
|
|
216
|
+
const tongue = (cx: number, top: number, w: number, col: string): void => {
|
|
217
|
+
ctx.fillStyle = col;
|
|
218
|
+
ctx.beginPath(); ctx.moveTo(cx - w, 236);
|
|
219
|
+
ctx.bezierCurveTo(cx - w * 1.1, 170, cx - w * 0.2, 120, cx + w * 0.15, top);
|
|
220
|
+
ctx.bezierCurveTo(cx + w * 0.5, 120, cx + w * 1.2, 170, cx + w, 236);
|
|
221
|
+
ctx.closePath(); ctx.fill();
|
|
222
|
+
};
|
|
223
|
+
const base = (r: number, col: string): void => { ctx.fillStyle = col; ctx.beginPath(); ctx.ellipse(64, 222, r, r * 0.5, 0, 0, Math.PI * 2); ctx.fill(); };
|
|
224
|
+
base(46, 'rgba(232,74,22,0.95)');
|
|
225
|
+
for (const [x, t, w] of [[38, 92, 24], [58, 18, 30], [82, 60, 26], [100, 120, 18], [24, 140, 16]] as const) tongue(x, t, w, 'rgba(232,74,22,0.95)');
|
|
226
|
+
base(36, 'rgba(255,140,30,1)');
|
|
227
|
+
for (const [x, t, w] of [[44, 110, 18], [62, 50, 22], [80, 96, 18]] as const) tongue(x, t, w, 'rgba(255,140,30,1)');
|
|
228
|
+
base(24, 'rgba(255,214,90,1)');
|
|
229
|
+
for (const [x, t, w] of [[56, 120, 13], [70, 104, 13]] as const) tongue(x, t, w, 'rgba(255,214,90,1)');
|
|
230
|
+
base(12, 'rgba(255,248,214,1)');
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
// Arena floor: mossy stone and slate checker, 2 m squares (cleanroom textures.js `checker`).
|
|
235
|
+
export function checker(): DataTexture {
|
|
236
|
+
const n = makeNoise(17);
|
|
237
|
+
const S = 512;
|
|
238
|
+
return paint(S, S, (u, v) => {
|
|
239
|
+
const cx = Math.floor(u * 4), cy = Math.floor(v * 4);
|
|
240
|
+
const slate = (cx + cy) % 2 === 0;
|
|
241
|
+
const a = n.fbm(u * 10, v * 10, 4);
|
|
242
|
+
const sp = n(u * 160, v * 160);
|
|
243
|
+
let col = slate ? mix3([92, 88, 74], [116, 110, 92], a) : mix3([92, 104, 44], [118, 128, 58], a);
|
|
244
|
+
const fu = (u * 4) % 1, fv = (v * 4) % 1;
|
|
245
|
+
const e = Math.min(fu, fv, 1 - fu, 1 - fv);
|
|
246
|
+
if (e < 0.02) col = col.map((x) => x * 0.55);
|
|
247
|
+
return col.map((x) => x * (0.85 + sp * 0.3));
|
|
248
|
+
});
|
|
249
|
+
}
|