Nodes/ComfyUI-Rhythm-Tracks/Draw Rhythm Tracks
ComfyUI Node

Draw Rhythm Tracks

Generate BPM-synced sparse track point images. A single point swings to the rhythm with independent X/Y patterns and timing controls.

By grmchn·Created 3 months ago·Updated 3 months ago· 0
Draw Rhythm Tracks
    • IMAGE
    bpm140.0
    fps24.0
    length5.0
    width512
    height512
    start_x256
    start_y128
    pattern_xpendulum
    pattern_ybounce
    rate_x0.50
    rate_y0.25
    rhythm_x0.25
    rhythm_y1.00
    delay0.00
    Categoryrhythm/motion_tracking

    Inputs (14)

    NameTypeDefaultDescription
    bpmFLOAT140.030–300Tempo in beats per minute. One beat = one swing cycle.
    fpsFLOAT24.01–120Output frame rate.
    lengthFLOAT5.00.1–60Output duration in seconds.
    widthINT5128–8192Output image width in pixels.
    heightINT5128–8192Output image height in pixels.
    start_xINT2560–8192Swing center point X coordinate.
    start_yINT1280–8192Swing center point Y coordinate.
    pattern_xCOMBOpendulumX-axis swing pattern.
    pattern_yCOMBObounceY-axis swing pattern.
    rate_xFLOAT0.500–1Horizontal swing width as ratio of image width.
    rate_yFLOAT0.250–1Vertical swing width as ratio of image height.
    rhythm_xFLOAT0.250.01–10X-axis BPM multiplier. Effective BPM = bpm * rhythm_x.
    rhythm_yFLOAT1.000.01–10Y-axis BPM multiplier. Effective BPM = bpm * rhythm_y.
    delayFLOAT0.00-10–10Time offset in seconds. Negative = earlier, positive = later.

    Outputs (1)

    NameTypeDescription
    IMAGEIMAGE