Nodes/genereti/ꘇ livecode
ComfyUI Node

ꘇ livecode

A ComfyUI node in Genereti / Interactive Sources with 9 inputs and 1 output.

By languel·Created 13 days ago·Updated a day ago· 1
ꘇ 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)

NameTypeDefaultDescription
languageCOMBOp513 options: p5, glsl, three, tixy, playcore, strudel, +7
widthINT51264–4096Render width; windowWidth in p5 and __.render.width
heightINT51264–4096Render height; windowHeight in p5 and __.render.height
auto_updateBOOLEANtrue—
codeSTRINGfunction 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))}}—
parametersSTRING{}—
imageoptIMAGEAvailable as inputImage / __.image / u_image in code
controlsoptCOMFY_AUTOGROW_V3—
performanceoptSTRING{}—

Outputs (1)

NameTypeDescription
imageIMAGE—