ComfyUI Node
ꘇ top.expression
Arithmetic per pixel/channel: t seconds, x/y normalized, i pixel index, c RGB channel index, v/a input value, b=0, w/h dimensions. Source IMAGE sets resolution; absent IMAGE generates a texture. Live t is time offset + graph clock; Queue uses time.
ꘇ top.expression
- image
- controls
- image
◄expression0.5 + 0.5*sin(t + x*12)*cos(y*12)►
◄width512►
◄height512►
◄time0.00►
◄performance{}►
◄offset_x0.00►
◄offset_y0.00►
◄offset_z0.00►
◄offset_t0.00►
◄parameters{}►
CategoryGenereti / TOP
Inputs (12)
| Name | Type | Default | Description |
|---|---|---|---|
| expression | STRING | 0.5 + 0.5*sin(t + x*12)*cos(y*12) | — |
| width | INT | 5121–4096 | — |
| height | INT | 5121–4096 | — |
| time | FLOAT | 0.00-100000–100000 | — |
| imageopt | IMAGE | — | |
| performanceopt | STRING | {} | — |
| offset_xopt | FLOAT | 0.00-100000–100000 | Domain offset x; zero leaves the domain unchanged |
| offset_yopt | FLOAT | 0.00-100000–100000 | Domain offset y; zero leaves the domain unchanged |
| offset_zopt | FLOAT | 0.00-100000–100000 | Domain offset z; zero leaves the domain unchanged |
| offset_topt | FLOAT | 0.00-100000–100000 | Domain offset t; zero leaves the domain unchanged |
| parametersopt | STRING | {} | — |
| controlsopt | COMFY_AUTOGROW_V3 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |