入力 PointCloud を頂点順にたどるパスとして扱い、Travelers 個の走者を等間隔に並べて Phase で巡回させます。出力は走者だけの PointCloud(入力の点は出てきません)なので、CopyToPoints に流して実体を与えます。走者の色はパス上の隣り合う2点の色を補間したものです。Phase に Saw 波形のLFOを刺すと、テンポ同期でパス上を1周します。
- Phase(既定0)— 0→1で1周。小数部のみ使用
- Travelers — 走者の数(既定3、1〜1024にクランプ)
- Traveler Scale — 走者のスケール(既定1、下限0.001)
- Closed (loop) トグル — オンで末尾と先頭を繋いだ閉パスとして扱う(既定オン)
- 向きドロップダウン: None / Tangent2D(既定・XY平面の進行方向をZ回転で)/ Tangent3D(進行方向を向く3D回転)
入力の点数が2未満のときは出力が点数0になります。
入力ポート
| Port ID | 型 |
PointCloud | PointCloudInput |
Phase | float |
Travelers | int |
Traveler Scale | float |
出力ポート
| Port ID | 型 |
PointCloud | PointCloudOutput |
スクリプトから設定可能なメンバー
| パス | 型 |
phaseInput | float |
travelersInput | int |
scaleInput | float |
closed | bool |
Synapse Apps(スクリプティング)
await synapse.modules.create({ type: "TravelOnPath" })