HeadlinesBriefing favicon HeadlinesBriefing.com

Coding Pollock's Pendulum Art Physics

DEV Community •
×

A developer recreated Jackson Pollock's drip painting technique by coding pendulum physics. The project simulates how paint accumulates and thins as a swinging container slows at its edges and accelerates at the center. The resulting digital strokes produce layered, fractal-like patterns, mirroring the artist's method and the natural self-similarity found in his work.

The implementation uses JavaScript to calculate pendulum velocity with sine functions, translating speed into stroke thickness and opacity. Key code handles boundary reflection, causing strokes to sweep from edge to edge, and probabilistic drips that simulate paint splatter. Color layering mimics Pollock's palette with a darken blend mode, creating a realistic paint-over-paint effect.

Fine-tuning parameters like line thickness and wobble required iterative visual adjustment rather than pure logic. The project demonstrates how algorithmic recreation of physical phenomena can bridge art and engineering. It suggests that the beauty of Pollock's fractals stems from natural laws, inviting developers to experiment with their own color schemes and physics tweaks.