ComfyUI Node
Math Scratchpad
A ComfyUI node in SBL with 1 input and 0 outputs.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| expressions | STRING | import 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