Nodes/Jovimetrix/POLYGON (JOV)
ComfyUI Node

POLYGON (JOV)

The GLSL-era n-sided shape generator

By Amorano·Created 3 years ago·Updated 12 months ago· 397
POLYGON (JOV)
  • 👾
  • 🖼️
#️⃣3
🅡1.00

POLYGON (JOV) is a relic, and it knows it. A minimal shape node from Jovimetrix's GLSL era, it generated an n-sided polygon image and handed an input straight through - which is why its category on comfy.icu is literally "JOVIMETRIX GLSL" and its description is a shrug: "A Jovimetrix Node." If you've loaded an older workflow and this is the missing node, here's what it was and where the feature went.

Mechanically it was simple. The #️⃣ input set the number of sides (an int, minimum 3 - a triangle up to whatever), and 🅐 set the size as a float from 0.01 to 4 (1.0 = full canvas). The 👾 input was a pass-through of any data, which is the tell that this was built into the old streaming/composition pipeline rather than as a standalone tool. One 🖼️ IMAGE output carried the rendered polygon.

Why it existed: before v2.0, Jovimetrix shipped an entire GLSL shader system - vertex and fragment shaders, dynamic GLSL node generation, and a couple dozen hand-written GPU nodes for common tasks. POLYGON was one of those, the "draw a polygon" primitive you could drop into a composition. The README of the current pack is unusually upfront about the aftermath: as of version 2.0.0, all the GLSL nodes migrated to the smaller Jovi_GLSL package, and the pack literally warns "DO NOT UPDATE JOVIMETRIX PAST VERSION 1.7.48 IF YOU DONT WANT TO LOSE A BUNCH OF NODES." POLYGON is one of the ones you lose.

The good news is the function didn't die, it just got absorbed. The current Jovimetrix has a proper procedural shape node - SHAPE GEN (JOV) ✨ - where you pick POLYGON from the shape menu and set sides, color, background, size, rotation, and edge blur, and it outputs both an image and a mask. That's the maintained, documented replacement. If you want the actual GPU shader pipeline, install Jovi_GLSL. Either way, POLYGON (JOV) itself is a legacy node from a version you should deliberately pin if you need it.

Installing the pack gets you everything else but not this node in current builds:

cd ComfyUI/custom_nodes
git clone https://github.com/Amorano/Jovimetrix.git
pip install -r Jovimetrix/requirements.txt

or ComfyUI Manager → "Jovimetrix". The shared dependencies (numpy, opencv-contrib-python, Pillow, matplotlib, cozy-comfyui helpers) are light and model-free. If a workflow demands POLYGON (JOV) specifically, you have three options: pin Jovimetrix at an old version, install Jovi_GLSL for the shader flavor, or - cleanest - swap in SHAPE GEN and pick POLYGON there. That last one takes about thirty seconds and gets you a better node.

CategoryJOVIMETRIX GLSL

Inputs (3)

NameTypeDefaultDescription
👾opt*
#️⃣optINT3
🅡optFLOAT1.000.01–4

Outputs (1)

NameTypeDescription
🖼️IMAGE