SHAPE GENERATOR (JOV) β¨
Parametric shapes with color pickers and blur
- π
- πB
- πΌπ
- π
- πΌοΈ
- π·
The prettier, more finished sibling of Jovimetrix's original shape node. Same procedural idea - generate a shape from parameters instead of painting it - but this version swaps the bare 0β1 color floats for proper 0β255 color pickers, adds a background color, and throws in edge blur. If you found this node in an older workflow, it's the pre-2.0 SHAPE GENERATOR; the current pack calls the same tool SHAPE GEN (JOV) β¨.
The inputs read like a designer's checklist. πΈπ΄ Shape picks CIRCLE, SQUARE, ELLIPSE, RECTANGLE, or POLYGON, with βΎ Sides (3β100) for the polygon case. π is the shape color and πB the background color, both VEC3 RGB values in 0β255 - so you can make a red circle on a blue field without any manual conversion. πΌπ sets the output size (VEC2, default 512Γ512, 32β8192), π Angle rotates it, π Scale stretches it per axis as a VEC2, and π³ Blur feathers the shape's edges - 0 is hard-edged, a few units softens it into a graduated mask, which is the single most useful knob here for compositing work.
Outputs are πΌοΈ IMAGE and π· MASK. The mask output is the point for most people: a soft-edged circle mask straight out of a generator beats hand-painting or thresholding any day. Drop the blur up and you get a smooth gradient mask you can feed directly into compositing, inpainting regions, or as an alpha for a second image.
The classic workflow: generate a blurred circle mask, use it to composite one image over another with a BLEND node - or invert it to keep the subject sharp while the background gets processed. The 0β255 color pickers make it trivial to match palette values, and since it generates from pure math, changing a parameter re-renders instantly with no external asset.
The catch is the same one that hits most of this pack's older names: SHAPE GENERATOR (JOV) β¨ is a legacy node and doesn't exist in current Jovimetrix builds - it was renamed and reworked into SHAPE GEN (JOV) β¨, which adds a background matte, position offset, and edge modes. If your workflow reports this node missing, that's the fix: replace it with SHAPE GEN. The shape, sides, and blur concepts carry over directly.
To run any of it, install the pack via ComfyUI Manager (search "Jovimetrix") or:
cd ComfyUI/custom_nodes
git clone https://github.com/Amorano/Jovimetrix.git
pip install -r Jovimetrix/requirements.txt
then restart. The dependencies are the pack-standard numpy/opencv-contrib-python/Pillow/matplotlib plus the cozy-comfyui helpers - no model downloads, pure math. Keep ComfyUI at 0.1.3+ and remember the pack's split history: streaming and GLSL nodes moved to separate Jovi_* packs in v2.0, which is why old workflow JSONs sometimes reference names the current install no longer has.
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| πΈπ΄opt | COMBO | CIRCLE | 5 options: CIRCLE, SQUARE, ELLIPSE, RECTANGLE, POLYGON |
| βΎοΈopt | INT | 33β100 | β |
| πopt | VEC3 | 255,255,2550β255 | β |
| πBopt | VEC3 | 0,0,00β255 | β |
| πΌπopt | VEC2 | 512,51232β8192 | β |
| πopt | FLOAT | 0.00-180β180 | β |
| πopt | VEC2 | 1,1 | β |
| π³opt | FLOAT | 0.000β1 | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| πΌοΈ | IMAGE | β |
| π· | MASK | β |