Nodes/SBL/Math Scratchpad
ComfyUI Node

Math Scratchpad

A ComfyUI node in SBL with 1 input and 0 outputs.

By SoftByteLabs·Created 19 days ago·Updated 19 days ago· 0
Math Scratchpad
      expressionsimport math t = 12 rawframes = t * 24 + 1 ltxframes = 8 * math.floor((rawframes - 1) / 8) print(ltxframes + 1) print(ltxframes / 24) print(ltxframes / 8)
      CategorySBL

      Inputs (1)

      NameTypeDefaultDescription
      expressionsSTRINGimport math t = 12 rawframes = t * 24 + 1 ltxframes = 8 * math.floor((rawframes - 1) / 8) print(ltxframes + 1) print(ltxframes / 24) print(ltxframes / 8)

      Outputs (0)

      No outputs