ComfyPilotComfyPilot
工作流 / 图像 / 像素排序故障效果图像转换
像素排序故障效果图像转换

像素排序故障效果图像转换

Pixel Sort Glitch Effect Image Transformation

应用像素排序算法创建故障艺术。控制效果方向、阈值以及与原始图像的混合。输出风格化、涂抹效果的输入图像版本。

图像 4 个节点 1 个输入 9 次使用 ComfyUI ≥ 0.0.1 PurzBeats 4 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

节点构成

FL_PixelSort × 1
MarkdownNote × 1
SaveImage × 1
LoadImage × 1

官方标注的模型

None

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "738caa82-9687-4805-943d-9de056aeffa3",
3 "revision": 0,
4 "last_node_id": 6,
5 "last_link_id": 7,
6 "nodes": [
7 {
8 "id": 5,
9 "type": "FL_PixelSort",
10 "pos": [
11 -959.6666470272739,
12 4901.333440034663
13 ],
14 "size": [
15 324,
16 242.90625
17 ],
18 "flags": [],
19 "order": 2,
20 "mode": 0,
21 "inputs": [
22 {
23 "name": "images",
24 "type": "IMAGE",
25 "link": 6
26 }
27 ],
28 "outputs": [
29 {
30 "name": "IMAGE",
31 "type": "IMAGE",
32 "links": [
33 7
34 ]
35 }
36 ],
37 "properties": {
38 "Node name for S&R": "FL_PixelSort"
39 },
40 "widgets_values": [
41 "Horizontal",
42 0.25,
43 0.1,
44 1
45 ],
46 "color": "#16727c",
47 "bgcolor": "#4F0074"
48 },
49 {
50 "id": 6,
51 "type": "MarkdownNote",
52 "pos": [
53 -2144.9997087929146,
54 4902.0004595910805
55 ],
56 "size": [
57 730,
58 500
59 ],
60 "flags": [],
61 "order": 0,
62 "mode": 0,
63 "inputs": [],
64 "outputs": [],
65 "properties": [],
66 "widgets_values": [
67 "# FL PixelSort\n\nSorts pixels along a direction to create a glitch/smear effect.\n\n## Parameters\n\n| Parameter | Default | Notes |\n|---|---|---|\n| `direction` | Horizontal | UI only — does nothing. Direction is controlled by `rotation`. |\n| `threshold` | 0.25 | Brightness cutoff that determines which pixels get sorted. |\n| `smoothing` | 0.10 | Blends the sorted result with the original. |\n| `rotation` | 1 | `0` = horizontal, `1` = vertical, `2` = diagonal. |"
68 ],
69 "color": "#222",
70 "bgcolor": "#000"
71 },
72 {
73 "id": 3,
74 "type": "SaveImage",
75 "pos": [
76 -588.9999382456917,
77 4904.000044884399
78 ],
79 "size": [
80 324,
81 378.9375
82 ],
83 "flags": [],
84 "order": 3,
85 "mode": 0,
86 "inputs": [
87 {
88 "name": "images",
89 "type": "IMAGE",
90 "link": 7
91 }
92 ],
93 "outputs": [],
94 "properties": [],
95 "widgets_values": [
96 "ComfyUI"
97 ]
98 },
99 {
100 "id": 2,
101 "type": "LoadImage",
102 "pos": [
103 -1338.9998900996118,
104 4904.000044884399
105 ],
106 "size": [
107 339.28125,
108 407.71875
109 ],
110 "flags": [],
111 "order": 1,
112 "mode": 0,
113 "inputs": [],
114 "outputs": [
115 {
116 "name": "IMAGE",
117 "type": "IMAGE",
118 "links": [
119 6
120 ]
121 },
122 {
123 "name": "MASK",
124 "type": "MASK",
125 "links": null
126 }
127 ],
128 "properties": {
129 "Node name for S&R": "LoadImage"
130 },
131 "widgets_values": [
132 "wireframe_dancer.png",
133 "image"
134 ]
135 }
136 ],
137 "links": [
138 [
139 6,
140 2,
141 0,
142 5,
143 0,
144 "IMAGE"
145 ],
146 [
147 7,
148 5,
149 0,
150 3,
151 0,
152 "IMAGE"
153 ]
154 ],
155 "groups": [],
156 "config": [],
157 "extra": {
158 "ds": {
159 "scale": 0.9764544354597892,
160 "offset": [
161 2214.266235061408,
162 -4571.195959589093
163 ]
164 },
165 "frontendVersion": "1.41.13",
166 "workflowRendererVersion": "Vue",
167 "linearData": {
168 "inputs": [
169 [
170 "2",
171 "image"
172 ],
173 [
174 "5",
175 "threshold"
176 ],
177 [
178 "5",
179 "smoothing"
180 ],
181 [
182 "5",
183 "rotation"
184 ]
185 ],
186 "outputs": [
187 "3"
188 ]
189 },
190 "VHS_KeepIntermediate": true,
191 "VHS_MetadataImage": true,
192 "VHS_latentpreview": false,
193 "VHS_latentpreviewrate": 0,
194 "linearMode": false
195 },
196 "version": 0.4
197}