feat(procgen): 添加程序化生成工具包 (#331)

- 添加噪声函数 (Perlin, Simplex, Worley, FBM)
- 添加种子随机数生成器 (SeededRandom)
- 添加加权随机选择和洗牌工具
- 添加蓝图节点 (SampleNoise2D, SeededRandom, WeightedPick 等)
This commit is contained in:
YHH
2025-12-25 14:33:19 +08:00
committed by GitHub
parent 25936c19e9
commit 275124b66c
18 changed files with 2108 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
{
"id": "procgen",
"name": "@esengine/procgen",
"globalKey": "procgen",
"displayName": "Procedural Generation",
"description": "程序化生成工具,包含噪声函数和随机工具 | Procedural generation tools with noise functions and random utilities",
"version": "1.0.0",
"category": "Math",
"icon": "Wand",
"tags": ["noise", "random", "procedural", "generation"],
"isCore": false,
"defaultEnabled": true,
"isEngineModule": true,
"canContainContent": false,
"platforms": ["web", "desktop"],
"dependencies": ["core"],
"exports": {
"components": [],
"systems": []
},
"requiresWasm": false,
"outputPath": "dist/index.js",
"pluginExport": "ProcGenPlugin"
}