|
← 判断力与美学 ← Judgment & Aesthetics
SAE 判断力与美学 · 余项之美
SAE Judgment & Aesthetics · Beauty of the Remainder
2026-04-20

deconbatch:事故编程法,或余项如何自己写代码

deconbatch: The Accidental Programming Method, or How the Remainder Writes Its Own Code

Han Qin (秦汉)

在日本,有一个匿名的程序员运营着一个叫"deconbatch的1000个创意编程之地"的博客。这个名字本身就暗示了一种与数量和耐心有关的实践——不是做一件杰作,而是做一千次尝试。deconbatch用Processing和p5.js写生成艺术,但重点不在这里。重点在于他提出的方法论:事故编程法(Accidental Programming Method)。具体操作很简单:写完一段代码后,随意改点什么——把参数调到极大或极小,把加号换成乘号,在公式里随便加一个sin()。然后看看发生了什么。

这不是"拥抱错误"这种已经变成陈词滥调的创意口号。deconbatch的方法比那个更结构性。他明确地说:bug是你的朋友。他举过一个例子——在写Perlin噪声代码时出了bug,结果那个有bug的版本比"正确"的版本在美学上更好。他没有修复它,而是把bug当成了发现。在De Jong吸引子的实验中,他用手动调参数的方式找到了偶尔会生成水母形状的公式。这些水母不是目标,是余项——参数空间里大量无意义输出中偶然浮出来的东西。

从SAE的视角看,deconbatch的事故编程法就是一个余项生产机制。在正常的编程中,代码的输出是已知的——你写了什么,就得到什么,这是构。但deconbatch把凿构循环的方向反了过来:不是先有意图再有构造,而是先有构造的扰动,再从扰动里识别出美。余项不是被设计出来的,是被撞见的。更重要的是,这种撞见本身就是方法。他不是在说"有时候错误会有好结果"——他是在说错误就是方法的核心。这是一个余项自觉的实践。

艺术界还没有给这种实践一个名字。生成艺术作为一个领域已经有了自己的已构美学——干净的算法、可控的随机性、链上铸造的精致输出。这些是DD的美,已经完成了从余项到构的转变。deconbatch的位置不在那里。他的博客没有画廊背书,没有NFT市场,没有策展人的介入。他甚至是匿名的。他的一千个编程实验安静地积累在一个个人博客上,每一个都附有完整的源代码,任何人都可以拿去改。这种开放性本身就是余项的——它拒绝成为被拥有的已构作品。现在看见他,比以后看见他更重要——因为一旦"事故编程"被某个策展话语收编,它就会变成技法,变成已构,变成死的。此刻它还活着。

deconbatch.com ↗

In Japan, an anonymous programmer runs a blog called "deconbatch's Land of 1000 Creative Codings." The title itself signals a practice bound to quantity and patience — not one masterpiece, but a thousand attempts. deconbatch writes generative art in Processing and p5.js, but the tools are not the point. The point is the methodology: the Accidental Programming Method. The procedure is disarmingly simple: after finishing a piece of code, change something thoughtlessly — set a parameter to an absurdly large or small value, swap a plus sign for a multiplication sign, drop a sin() into a formula at random. Then see what happens.

This is not the familiar creative-world platitude of "embracing mistakes." deconbatch's method is more structural than that. He states it plainly: bugs are your friends. He describes an instance where a bug in his Perlin noise code produced output that was aesthetically superior to the "correct" version. He did not fix it — he treated the bug as a finding. In his experiments with De Jong attractors, he hand-tuned parameters until the formulas occasionally generated jellyfish-like shapes. These jellyfish were not the goal. They were remainders — forms that surfaced accidentally from the vast space of meaningless parametric outputs.

From the SAE perspective, the Accidental Programming Method is a remainder-production mechanism. In normal programming, output is known in advance — you write something, you get what you wrote. That is construct. But deconbatch reverses the direction of the chisel-construct cycle: instead of moving from intention to construction, he begins with a perturbation of existing construction and then recognizes beauty within the perturbation. The remainder is not designed — it is stumbled upon. More crucially, the stumbling itself is the method. He is not saying "sometimes mistakes yield good results." He is saying that the mistake is the core of the method. This is a remainder-conscious practice.

The art world has not yet named this practice. Generative art as a field already has its own constructed aesthetics — clean algorithms, controlled randomness, the polished outputs minted on-chain. These belong to the beauty of the DD, works that have already completed the transition from remainder to construct. deconbatch does not sit there. His blog carries no gallery endorsement, no NFT marketplace presence, no curatorial mediation. He is even anonymous. His thousand coding experiments accumulate quietly on a personal blog, each accompanied by full source code that anyone can take and modify. This openness is itself a remainder quality — it refuses to become an owned, constructed artifact. Seeing him now matters more than seeing him later, because once "accidental programming" gets absorbed into some curatorial discourse, it will become technique, become construct, become inert. Right now it is still alive.

deconbatch.com ↗