ComfyUI Node
ꘇ livecode
A ComfyUI node in Genereti / Interactive Sources with 9 inputs and 1 output.
ꘇ livecode
- image
- controls
- image
◄languagep5►
◄width512►
◄height512►
◄auto_updatetrue►
◄codefunction setup(){createCanvas(windowWidth,windowHeight);background(245)}function draw(){stroke(random(255));line(random(width),random(height),random(width),random(height));if(mouseIsPressed){noStroke();fill(random(255));circle(mouseX,mouseY,dist(mouseX,mouseY,pmouseX,pmouseY))}}►
◄parameters{}►
◄performance{}►
CategoryGenereti / Interactive Sources
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| language | COMBO | p5 | 13 options: p5, glsl, three, tixy, playcore, strudel, +7 |
| width | INT | 51264–4096 | Render width; windowWidth in p5 and __.render.width |
| height | INT | 51264–4096 | Render height; windowHeight in p5 and __.render.height |
| auto_update | BOOLEAN | true | — |
| code | STRING | function setup(){createCanvas(windowWidth,windowHeight);background(245)}function draw(){stroke(random(255));line(random(width),random(height),random(width),random(height));if(mouseIsPressed){noStroke();fill(random(255));circle(mouseX,mouseY,dist(mouseX,mouseY,pmouseX,pmouseY))}} | — |
| parameters | STRING | {} | — |
| imageopt | IMAGE | Available as inputImage / __.image / u_image in code | |
| controlsopt | COMFY_AUTOGROW_V3 | — | |
| performanceopt | STRING | {} | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |