Nodes/Jovimetrix/SHAPE GENERATOR (JOV) ✨
ComfyUI Node

SHAPE GENERATOR (JOV) ✨

Parametric shapes with color pickers and blur

By AmoranoΒ·Created 3 years agoΒ·Updated 12 months agoΒ· 397
SHAPE GENERATOR (JOV) ✨
  • 🌈
  • 🌈B
  • πŸ‡ΌπŸ‡­
  • πŸ“
  • πŸ–ΌοΈ
  • 😷
β—„πŸ‡ΈπŸ‡΄CIRCLEβ–Ί
◄♾️3β–Ί
β—„πŸ“0.00β–Ί
β—„πŸ”³0.00β–Ί

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.

CategoryJOVIMETRIX πŸ”ΊπŸŸ©πŸ”΅/CREATE

Inputs (8)

NameTypeDefaultDescription
πŸ‡ΈπŸ‡΄optCOMBOCIRCLE5 options: CIRCLE, SQUARE, ELLIPSE, RECTANGLE, POLYGON
♾️optINT33–100β€”
🌈optVEC3255,255,2550–255β€”
🌈BoptVEC30,0,00–255β€”
πŸ‡ΌπŸ‡­optVEC2512,51232–8192β€”
πŸ“optFLOAT0.00-180–180β€”
πŸ“optVEC21,1β€”
πŸ”³optFLOAT0.000–1β€”

Outputs (2)

NameTypeDescription
πŸ–ΌοΈIMAGEβ€”
😷MASKβ€”