Back to Node List

Segment Pack

segment_pack

Compose a Bezier segment (Map) from 8 coordinate values

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Output Ports

NameTypeDescription
セグメント
segment
Map
組み立てたベジェセグメントMap

Parameters

NameTypeDefaultRangeDescription / Options
始点X
p0_x
Int
0-1024–1024

始点X座標

始点Y
p0_y
Int
0-1024–1024

始点Y座標

制御点1 X
cp1_x
Int
0-1024–1024

制御点1 X座標

制御点1 Y
cp1_y
Int
0-1024–1024

制御点1 Y座標

制御点2 X
cp2_x
Int
0-1024–1024

制御点2 X座標

制御点2 Y
cp2_y
Int
0-1024–1024

制御点2 Y座標

終点X
p3_x
Int
0-1024–1024

終点X座標

終点Y
p3_y
Int
0-1024–1024

終点Y座標

Overview

Builds one Bézier segment numerically from eight coordinates: start point, two control points, and end point. This is a low-level component for advanced users who want to drive the path shape itself with numbers or waveforms, such as swaying hair or flags.

Usage tips

  • Its counterpart is segment_unpack. The basic shape-animation loop is: unpack a segment drawn in the editor → animate coordinates with waveforms → reconstruct it with Pack → return it to seg_N on bezier_path through a promoted input pin 📌.
  • You do not need to drive every coordinate with expressions. Promote only the coordinates you want to animate to input pins 📌 and leave the rest fixed with sliders.
  • If you only want the entire shape to change over time, keyframe_clip (recording-based) is more intuitive. Segment Pack is for mathematical motion.
  • Pack's editable values and promoted inputs use the practical manual range -1024..1024. segment_unpack uses the full Int range for its read-only outputs because segments can come from other Path sources. Values outside Pack's range are constrained when connected back to Pack.

Related nodes

  • segment_unpack — counterpart that decomposes a segment

  • bezier_path — destination for the assembled segment

  • motion / expression_float — sources that drive coordinates

  • keyframe_clip — recording-based shape animation (alternative)

  • Version: 1

Examples

Combine with Segment Unpack

  1. Decompose a Bézier Path segment with Segment Unpack.
  2. Process coordinate values with Sine Wave or another node.
  3. Promote the corresponding Segment Pack parameters to input pins 📌.
  4. Connect the processed values.
  5. Connect the output Segment to the seg_N input pin on Bézier Path.

Create a segment manually

  1. Set each coordinate parameter with its slider.
  2. Connect the output Segment to the seg_N input pin on Bézier Path.
Back to Node List
Segment Pack — PixPipeline Node Reference