{
  "schemaVersion": 1,
  "slug": "wind-particle-transition",
  "packageId": "makokara.official.wind-particle-transition",
  "name": "风粒子聚散出入场",
  "subtitle": "Wind Particle Transition",
  "summary": "风沙流线刮入凝聚入场、唱完逐字晶格风蚀碎裂飘散的混合出入场效果，支持自定义双色与完整风场参数。",
  "version": "1.0.0",
  "revision": "sha256:99514a3f4c110f6f4e98e6bb84c03c4a231cc7840cd72c4e30b58d9e819381dd",
  "packageVersion": 3,
  "sdkVersion": "2.0.0",
  "shaderProfile": "skia-ganesh-3.119.4-v2",
  "category": "hybrid",
  "tags": [
    "出入场过渡",
    "风沙粒子",
    "晶格风蚀",
    "SkSL混合",
    "透明安全"
  ],
  "author": {
    "name": "MakoKara Official"
  },
  "license": "MIT",
  "featured": true,
  "featuredOrder": 7,
  "verified": true,
  "verifiedAt": "2026-12-06",
  "transparentSafe": true,
  "requires": [
    "token.affine",
    "token.opacity",
    "style.glow",
    "image.graph",
    "line.exit",
    "timeline.index",
    "particles.burst",
    "visuals.segments",
    "visuals.sprites",
    "visuals.dots",
    "resources.svg.atlas"
  ],
  "exportKinds": [
    "controller",
    "graph"
  ],
  "parameterCount": 16,
  "lineExitDurationUs": 1800000,
  "recommendedFor": [
    "古风与抒情大气曲目",
    "奇幻动画 OP/ED",
    "逐字碎散高表现力转场"
  ],
  "media": {
    "coverUrl": "https://mkfx.talium.site/files/wind-particle-transition/cover.webp",
    "previewVideoUrl": "https://mkfx.talium.site/files/wind-particle-transition/preview.webm",
    "transparentPreviewVideoUrl": "https://mkfx.talium.site/files/wind-particle-transition/preview-transparent.webm"
  },
  "archive": {
    "fileName": "wind-particle-transition.mkfx",
    "url": "https://mkfx.talium.site/files/wind-particle-transition/wind-particle-transition.mkfx",
    "sizeBytes": 18079,
    "sha256": "362126979ba50bba5eb168794023972f5b4a180ce0cf4bef6503800210a8f8fa"
  },
  "links": {
    "detailPageUrl": "https://mkfx.talium.site/effects/wind-particle-transition/",
    "detailApiUrl": "https://mkfx.talium.site/api/v1/packages/wind-particle-transition.json",
    "sourceUrl": "https://github.com/Zydr114/MakoKaraGenerator-OfficialMkfxSamples/tree/main/packages/WindParticleTransition",
    "installUri": "makokara://market/install?catalog=https%3A%2F%2Fmkfx.talium.site%2Fapi%2Fv1%2Fcatalog.json&packageId=makokara.official.wind-particle-transition&slug=wind-particle-transition"
  },
  "description": "融合 Voronoi 晶格风蚀 SkSL 着色器、TokenCompleted 爆发晶粒精灵、微尘与流线风丝的官方旗舰混合出入场效果包。行显现时风流席卷聚合成字，每字唱完后迎风碎散成流光尘粒随风飘远，全程零分配且兼容透明导出。",
  "previewNotes": "预览展示冰青与暖白风尘从左刮入聚合成句，以及已唱完字符逐字风蚀碎散飘远的全过程。",
  "emitters": [
    {
      "id": "exit-dust-burst",
      "kind": "burst",
      "maxLifetimeUs": 5000000
    }
  ],
  "exports": [
    {
      "id": "wind-particle-transition",
      "kind": "controller",
      "name": "风粒子聚散出入场",
      "entryType": "WindParticleTransition",
      "bindingKinds": [
        "project",
        "branch",
        "lines",
        "tokens",
        "clips",
        "node"
      ],
      "parameters": [
        "enterCharUs",
        "enterStaggerUs",
        "enterReachPx",
        "exitUs",
        "particleLifeUs",
        "exitWindDirection",
        "windSpeedPx",
        "windLiftPx",
        "turbulencePx",
        "grainSizePx",
        "particleSizePx",
        "particlesPerToken",
        "windRibbonOpacity",
        "particleColor",
        "accentColor",
        "dissolveGlow"
      ],
      "outputs": [
        {
          "id": "token-transform",
          "kind": "VisualTransform",
          "target": "tokenFamily",
          "requires": []
        },
        {
          "id": "token-opacity",
          "kind": "StyleModulation",
          "target": "tokenFamily",
          "requires": []
        },
        {
          "id": "token-shatter",
          "kind": "ImageGraph",
          "target": "tokenFamily",
          "requires": []
        },
        {
          "id": "exit-dust-burst",
          "kind": "Overlay",
          "target": "canvas",
          "requires": [
            "particles.burst"
          ]
        },
        {
          "id": "wind-streams",
          "kind": "Overlay",
          "target": "canvas",
          "requires": [
            "visuals.segments"
          ]
        },
        {
          "id": "wind-shards",
          "kind": "Overlay",
          "target": "canvas",
          "requires": [
            "visuals.sprites",
            "resources.svg.atlas"
          ]
        },
        {
          "id": "wind-motes",
          "kind": "Overlay",
          "target": "canvas",
          "requires": [
            "visuals.dots"
          ]
        }
      ]
    },
    {
      "id": "wind-token",
      "kind": "graph",
      "name": "单字风蚀碎裂图",
      "graph": "graphs/wind-token.graph.json",
      "bindingKinds": [
        "project",
        "branch",
        "lines",
        "tokens",
        "clips",
        "node"
      ],
      "parameters": [],
      "outputs": [
        {
          "id": "image",
          "kind": "ImageGraph",
          "target": "tokenFamily",
          "requires": []
        }
      ]
    }
  ],
  "parameters": [
    {
      "default": 440000,
      "id": "enterCharUs",
      "label": "单字聚合入场时长",
      "max": 1800000,
      "min": 80000,
      "type": "duration",
      "unit": "us"
    },
    {
      "default": 70000,
      "id": "enterStaggerUs",
      "label": "入场字间错峰延迟",
      "max": 400000,
      "min": 0,
      "type": "duration",
      "unit": "us"
    },
    {
      "default": 240,
      "id": "enterReachPx",
      "label": "入场风沙刮入距离",
      "max": 520,
      "min": 40,
      "type": "number",
      "unit": "px"
    },
    {
      "default": 720000,
      "id": "exitUs",
      "label": "单字碎裂退场时长",
      "max": 1800000,
      "min": 120000,
      "type": "duration",
      "unit": "us"
    },
    {
      "default": 1050000,
      "id": "particleLifeUs",
      "label": "碎裂粒子飘散寿命",
      "max": 3500000,
      "min": 250000,
      "type": "duration",
      "unit": "us"
    },
    {
      "default": "left",
      "id": "exitWindDirection",
      "label": "退场风向",
      "type": "enum",
      "values": [
        {
          "label": "向后（向左飘散）",
          "value": "left"
        },
        {
          "label": "向前（向右飘散）",
          "value": "right"
        }
      ]
    },
    {
      "default": 260,
      "id": "windSpeedPx",
      "label": "退场风速",
      "max": 680,
      "min": 40,
      "type": "number",
      "unit": "px/s"
    },
    {
      "default": 34,
      "id": "windLiftPx",
      "label": "气流抬升速度",
      "max": 160,
      "min": -120,
      "type": "number",
      "unit": "px/s"
    },
    {
      "default": 22,
      "id": "turbulencePx",
      "label": "风涡扰动幅度",
      "max": 80,
      "min": 0,
      "type": "number",
      "unit": "px"
    },
    {
      "default": 5.5,
      "id": "grainSizePx",
      "label": "字形碎裂晶格尺度",
      "max": 14,
      "min": 2.5,
      "type": "number",
      "unit": "px"
    },
    {
      "default": 14,
      "id": "particleSizePx",
      "label": "风尘粒子大小",
      "max": 36,
      "min": 4,
      "type": "number",
      "unit": "px"
    },
    {
      "default": 26,
      "id": "particlesPerToken",
      "label": "单字碎散粒子数",
      "max": 60,
      "min": 4,
      "type": "integer"
    },
    {
      "default": 0.72,
      "id": "windRibbonOpacity",
      "label": "风丝流线不透明度",
      "max": 1,
      "min": 0,
      "type": "number"
    },
    {
      "default": {
        "a": 0.96,
        "b": 1,
        "g": 0.86,
        "r": 0.45
      },
      "id": "particleColor",
      "label": "粒子主色",
      "type": "color"
    },
    {
      "default": {
        "a": 0.92,
        "b": 0.92,
        "g": 0.98,
        "r": 1
      },
      "id": "accentColor",
      "label": "粒子高光辅色",
      "type": "color"
    },
    {
      "default": true,
      "id": "dissolveGlow",
      "label": "聚散边缘微光",
      "type": "boolean"
    }
  ],
  "files": [
    {
      "path": "README.md",
      "role": "asset",
      "sizeBytes": 1282,
      "sha256": "f0cb42bdbb9a6601d7a598056a073edbb57bd034f380c1b8b5f8f874124e2162"
    },
    {
      "path": "assets/wind-grain.svg",
      "role": "svg",
      "sizeBytes": 1334,
      "sha256": "1976a9defb21077019ca0a5c17ee500e0fe6336626c71db5960b6e18da8d4da2"
    },
    {
      "path": "graphs/wind-token.graph.json",
      "role": "graph",
      "sizeBytes": 1825,
      "sha256": "c6de0481effb04ba23f15c05f847852fa87b0bfbc6cc591db77bb48206745e53"
    },
    {
      "path": "resources/wind-grain.json",
      "role": "svgResource",
      "sizeBytes": 561,
      "sha256": "0a9be0548a09cb50223974df26f66431f2923bea0a12a25d8f25f054094f64a1"
    },
    {
      "path": "shaders/wind-token.program.json",
      "role": "shaderProgram",
      "sizeBytes": 703,
      "sha256": "1c4887e205c947820a60ac32e57bd3820d98bc5732103ac6867847f354079d7f"
    },
    {
      "path": "shaders/wind-token.sksl",
      "role": "shader",
      "sizeBytes": 6451,
      "sha256": "0614f8436a75733e514ded267dcfcd2b26d41c1474981867572b204684a4fdaf"
    },
    {
      "path": "src/WindParticleTransition.cs",
      "role": "csharp",
      "sizeBytes": 49443,
      "sha256": "fe8188b5f38eed9d78ab990cad6075653956fb584ea6990ae7468d60f1f2325d"
    }
  ],
  "readmeMarkdown": "# 风粒子聚散出入场\n\n结合逐字 Voronoi 晶格风蚀 SkSL 着色器、`TokenCompleted` 爆发粒子、SVG 图集风尘晶粒与流线风丝的官方混合出入场效果包（SDK v2 严格零分配实现）。\n\n## 核心特性\n\n- **风沙刮入聚合入场**：行显现时，丝带风流与自选色晶粒从左侧席卷刮入，按从左到右错峰节奏聚合成清晰字句，着色器同步呈现由左向右的有机晶格凝聚与微光边缘。\n- **已唱词素风蚀碎散退场**：每个词素唱完瞬间起，迎风边缘率先在 SkSL 着色器中碎裂为圆润 Voronoi 尘粒，并同步剥离出速度拉伸晶粒精灵、微尘光点与弯曲风丝向风向加速旋散；配合 `1.8s` `line.exit` 与事件粒子，句尾末字在换句后也能完整碎散飘远。\n- **全面自定义风场与配色**：支持自由配置粒子主色（`particleColor`）与高光辅色（`accentColor`），以及退场风向、风速、气流抬升、涡流扰动、晶格尺度、粒子数量与风丝不透明度。\n- **零分配与透明导出安全**：所有着色器图绑定（含全画布 `fit` 防裁切节点）与辉光均在 `Declare` 阶段预建量化查找表，风丝采用零分配 `Segments` 绘制，无背景依赖且透明导出边缘干净。\n"
}
