KARMA

KALA · 2023 · Presents

On a pale blush ground, a dense horizontal bundle of fine ribbons in lavender, mauve, pink, and grey gathers into a flat woven mass, like stacked threads or pressed reeds. Loose strands escape below, curling into soft loops and trailing wisps. Delicate, fibrous, and elegant, suggesting silk, hair, or windblown grass.
KALA · via Art Blocks ↗ · © the artist
Sample output of KARMA
KALA · via Art Blocks ↗ · © the artist
Sample output of KARMA
KALA · via Art Blocks ↗ · © the artist
Sample output of KARMA
KALA · via Art Blocks ↗ · © the artist

Karma, the original algorithm of Indian thought. Action, inaction, randomness, will -- all are ground in its maw to determine the manifest shape of the next moment. The past makes the present, and shall do so in the future. But what one sees is the eternal present, and from there, the past is only the fading imprint on memory, an imprint that leaves us with the perception of pattern, as gratifying as it is mystical. The past's fading, thus, is a necessity. Interaction: Click/Hold anywhere to start drawing. Press the 'down arrow' to clear the canvas.

How it works

The core is boids (a flock simulation). Each individual computes three forces toward nearby companions — aligning direction (alignment), drawing toward the centre (cohesion), avoiding getting too close (separation) — and sums them to advance. From the accumulation of simple rules, lifelike flock motion arises. Placing this flock in 3D space, drawing each individual as a box and connecting nearby individuals with lines, the trajectories become a geometric pattern. Under the theme of karma (action and consequence), past motion decides the present form, and a different flock appears per hash.

Palette

From the generator script · 33
#e14d2a#fd841f#3e6d9c#001253#000000#cf0a0a#dc5f00#eeeeee#fff7e9#ff731d#5f9df7#1746a2#ffffff#31e1f7#400d51#d800a6#ff7777#efefef#d2001a#ffde00#fffae7#fce2db#ff8fb1#b270a2#7a4495#f5eddc#cfd2cf#a2b5bb#eb1d36#f5f5f5#f05454#30475e +1 more
Extracted from outputs · 8
#886990#c7a0b5#f3eae8#573e52#2c120b#3cc8e2#953d1d#b77a5c

Algorithms

Details

Tools
p5.js
Runtimes
Browser (Canvas / 2D), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2023-01) → art-blocks
Script hash
f2a17d5392d53edcfc4792a18a3661da1ae9575c81a7f4f09f768647bf614e69
On-chain
ethereum · 0x99a9b7c1116f9ceeb1652de04d5969cce509b069 · #414

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Cytographia
golan-levin · 2024
Solar Transits
robert-hodgin · 2023
flora, fauna, false gods & floods
ryan-green · 2022
Memories of Qilin
emily-xie · 2022
ORI
james-merrill · 2022
Beauty in the Hurting
ryan-green · 2021
A Snap in Time
qubibi · 2025
BUSIEST
james-merrill · 2025

Last updated 2026-07-16