Guest User

Untitled

a guest
Jul 3rd, 2026
1,525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.41 KB | None | 0 0
  1. {
  2.   "id": "c75f7aa8-2651-46d4-af40-90a8b03cc595",
  3.   "revision": 0,
  4.   "last_node_id": 50,
  5.   "last_link_id": 77,
  6.   "nodes": [
  7.     {
  8.       "id": 50,
  9.       "type": "78aad6b7-d56d-41c4-aaab-2b71599bfdb1",
  10.       "pos": [
  11.         1550,
  12.         -20
  13.       ],
  14.       "size": [
  15.         210,
  16.         280
  17.       ],
  18.       "flags": {},
  19.       "order": 0,
  20.       "mode": 0,
  21.       "inputs": [
  22.         {
  23.           "label": "image",
  24.           "name": "images.image0",
  25.           "type": "IMAGE",
  26.           "link": null
  27.         }
  28.       ],
  29.       "outputs": [
  30.         {
  31.           "label": "image",
  32.           "name": "IMAGE0",
  33.           "type": "IMAGE",
  34.           "links": []
  35.         }
  36.       ],
  37.       "properties": {
  38.         "proxyWidgets": [
  39.           [
  40.             "46",
  41.             "$$canvas-image-preview"
  42.           ]
  43.         ],
  44.         "cnr_id": "comfy-core",
  45.         "ver": "0.27.0"
  46.       },
  47.       "widgets_values": [],
  48.       "color": "#232",
  49.       "bgcolor": "#353"
  50.     }
  51.   ],
  52.   "links": [],
  53.   "groups": [],
  54.   "definitions": {
  55.     "subgraphs": [
  56.       {
  57.         "id": "78aad6b7-d56d-41c4-aaab-2b71599bfdb1",
  58.         "version": 1,
  59.         "state": {
  60.           "lastGroupId": 0,
  61.           "lastNodeId": 50,
  62.           "lastLinkId": 77,
  63.           "lastRerouteId": 0
  64.         },
  65.         "revision": 0,
  66.         "config": {},
  67.         "name": "2px Grid Nyquist Notch",
  68.         "inputNode": {
  69.           "id": -10,
  70.           "bounding": [
  71.             1368.3613636109517,
  72.             -149.1410005882169,
  73.             128,
  74.             68
  75.           ]
  76.         },
  77.         "outputNode": {
  78.           "id": -20,
  79.           "bounding": [
  80.             1826.3613636109517,
  81.             -149.1410005882169,
  82.             128,
  83.             68
  84.           ]
  85.         },
  86.         "inputs": [
  87.           {
  88.             "id": "9e0e89fd-f590-4869-ac0f-965391cc1d91",
  89.             "name": "images.image0",
  90.             "type": "IMAGE",
  91.             "linkIds": [
  92.               66
  93.             ],
  94.             "label": "image",
  95.             "pos": [
  96.               1472.3613636109517,
  97.               -125.14100058821691
  98.             ]
  99.           }
  100.         ],
  101.         "outputs": [
  102.           {
  103.             "id": "1a201211-9128-4176-a3fa-b2b89bc198e2",
  104.             "name": "IMAGE0",
  105.             "type": "IMAGE",
  106.             "linkIds": [
  107.               67
  108.             ],
  109.             "label": "image",
  110.             "pos": [
  111.               1850.3613636109517,
  112.               -125.14100058821691
  113.             ]
  114.           }
  115.         ],
  116.         "widgets": [],
  117.         "nodes": [
  118.           {
  119.             "id": 46,
  120.             "type": "GLSLShader",
  121.             "pos": [
  122.               1510,
  123.               -140
  124.             ],
  125.             "size": [
  126.               300,
  127.               220
  128.             ],
  129.             "flags": {},
  130.             "order": 0,
  131.             "mode": 0,
  132.             "inputs": [
  133.               {
  134.                 "label": "image0",
  135.                 "localized_name": "images.image0",
  136.                 "name": "images.image0",
  137.                 "type": "IMAGE",
  138.                 "link": 66
  139.               },
  140.               {
  141.                 "label": "image1",
  142.                 "localized_name": "images.image1",
  143.                 "name": "images.image1",
  144.                 "shape": 7,
  145.                 "type": "IMAGE",
  146.                 "link": null
  147.               },
  148.               {
  149.                 "label": "u_float0",
  150.                 "localized_name": "floats.u_float0",
  151.                 "name": "floats.u_float0",
  152.                 "shape": 7,
  153.                 "type": "FLOAT",
  154.                 "link": null
  155.               },
  156.               {
  157.                 "label": "u_int0",
  158.                 "localized_name": "ints.u_int0",
  159.                 "name": "ints.u_int0",
  160.                 "shape": 7,
  161.                 "type": "INT",
  162.                 "link": null
  163.               },
  164.               {
  165.                 "label": "u_bool0",
  166.                 "localized_name": "bools.u_bool0",
  167.                 "name": "bools.u_bool0",
  168.                 "shape": 7,
  169.                 "type": "BOOLEAN",
  170.                 "link": null
  171.               },
  172.               {
  173.                 "label": "u_curve0",
  174.                 "localized_name": "curves.u_curve0",
  175.                 "name": "curves.u_curve0",
  176.                 "shape": 7,
  177.                 "type": "CURVE",
  178.                 "link": null
  179.               }
  180.             ],
  181.             "outputs": [
  182.               {
  183.                 "localized_name": "IMAGE0",
  184.                 "name": "IMAGE0",
  185.                 "type": "IMAGE",
  186.                 "links": [
  187.                   67
  188.                 ]
  189.               },
  190.               {
  191.                 "localized_name": "IMAGE1",
  192.                 "name": "IMAGE1",
  193.                 "type": "IMAGE",
  194.                 "links": null
  195.               },
  196.               {
  197.                 "localized_name": "IMAGE2",
  198.                 "name": "IMAGE2",
  199.                 "type": "IMAGE",
  200.                 "links": null
  201.               },
  202.               {
  203.                 "localized_name": "IMAGE3",
  204.                 "name": "IMAGE3",
  205.                 "type": "IMAGE",
  206.                 "links": null
  207.               }
  208.             ],
  209.             "properties": {
  210.               "cnr_id": "comfy-core",
  211.               "ver": "0.19.3",
  212.               "Node name for S&R": "GLSLShader"
  213.             },
  214.             "widgets_values": [
  215.               "#version 300 es\nprecision highp float;\nuniform sampler2D u_image0;\nuniform vec2 u_resolution;\nin vec2 v_texCoord;\nlayout(location = 0) out vec4 fragColor0;\n\n// Nyquist Notch — removes 2px grid artifacts. Place before deconvolution.\n// b = [-1, +6, -15, +20, -15, +6, -1] / 64  (binomial * (-1)^n, +1 at center)\nconst float B[7] = float[7](-1.0, 6.0, -15.0, 20.0, -15.0, 6.0, -1.0);\n\nvoid main() {\n    vec2 texel = 1.0 / u_resolution;\n    vec4 center = texture(u_image0, v_texCoord);\n\n    vec3 Bx = vec3(0.0), By = vec3(0.0), Bxy = vec3(0.0);\n    for (int i = -3; i <= 3; i++) {\n        float wi = B[i + 3] / 64.0;\n        Bx += wi * texture(u_image0, v_texCoord + vec2(float(i) * texel.x, 0.0)).rgb;\n        By += wi * texture(u_image0, v_texCoord + vec2(0.0, float(i) * texel.y)).rgb;\n        for (int j = -3; j <= 3; j++) {\n            float wj = B[j + 3] / 64.0;\n            Bxy += wi * wj * texture(u_image0,\n                v_texCoord + vec2(float(i) * texel.x, float(j) * texel.y)).rgb;\n        }\n    }\n\n    vec3 notched = center.rgb - Bx - By + Bxy;\n    fragColor0 = vec4(clamp(notched, 0.0, 1.0), 1.0);  // alpha forced to 1.0\n}",
  216.               "from_input"
  217.             ]
  218.           }
  219.         ],
  220.         "groups": [],
  221.         "links": [
  222.           {
  223.             "id": 66,
  224.             "origin_id": -10,
  225.             "origin_slot": 0,
  226.             "target_id": 46,
  227.             "target_slot": 0,
  228.             "type": "IMAGE"
  229.           },
  230.           {
  231.             "id": 67,
  232.             "origin_id": 46,
  233.             "origin_slot": 0,
  234.             "target_id": -20,
  235.             "target_slot": 0,
  236.             "type": "IMAGE"
  237.           }
  238.         ],
  239.         "extra": {}
  240.       }
  241.     ]
  242.   },
  243.   "config": {},
  244.   "extra": {
  245.     "ds": {
  246.       "scale": 1.6350799082655818,
  247.       "offset": [
  248.         -829.1404157357588,
  249.         456.16671518937727
  250.       ]
  251.     },
  252.     "frontendVersion": "1.45.20",
  253.     "VHS_latentpreview": false,
  254.     "VHS_latentpreviewrate": 0,
  255.     "VHS_MetadataImage": true,
  256.     "VHS_KeepIntermediate": true
  257.   },
  258.   "version": 0.4
  259. }
Tags: JSON
Advertisement
Add Comment
Please, Sign In to add comment