Space Debris [warning]

WhaleStreet x pxlq · 2021 · Factory

A vivid mosaic of rectangles in royal blue, magenta, purple, cyan and hot pink, tiled edge to edge with thin black outlines. Large blue panels dominate the centre while smaller bars and tilted slivers in contrasting hues punctuate the field; a black notch sits at upper left. Electric, saturated, densely packed and energetic.
Sample output of Space Debris [warning]
Sample output of Space Debris [warning]
Sample output of Space Debris [warning]

L5-A752 to dispatch... we have been attacked, badly. Foundational structure is in critical condition, debris is everywhere. Lagrange stability has been compromised. Sending coordinates and trajectory... Requesting immediate gravity assist.

How it works

The core is a swarm of particles drawn by gravity (a particle system). First it divides the screen with recursive rectangle division to draw the skeleton of a destroyed space structure. Around it, it scatters countless fragments as particles, giving each a position and velocity and moving them every frame. The fragments receive attraction by averaging the gravity of nearby companions (up to about 50) and drift following an invisible field like dark matter. Fragments reaching the screen edge wrap to the opposite side, so the orbits circulate without breaking. The hash decides the fragments' number, initial speed and the division's shape, producing a piece with the air of a distress signal from a space station broken by attack — chaotic yet retaining a trace of order.

Palette

From the generator script · 34
#f72585#b5179e#7209b7#4361ee#4895ef#4cc9f0#19172c#e3c0a2#a54f50#a12a32#2f3279#3fb5c9#f9d067#63345e#fd8090#b7c1de#06569c#092047#e96d5e#eeeeee#ffe69d#6a7e6a#393f5f#ff0000#00a08a#f2ad00#f98400#5bbcd6#040404#de8c9d#fe2858#2af0ea +2 more
Extracted from outputs · 8
#0e0a0c#1e4560#83226c#ae7544#d0a09a#3d5acf#872501#4398a9

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 (2021-06) → art-blocks
Script hash
e6040632d7b56fea3210df2179b20bd5bc1ad6a9ac8244f727937a6f9f9f4c94
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #80

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Memories of Qilin
emily-xie · 2022
Cyber Cities
pxlq · 2021
Space Debris [m'aider]
whalestreet-x-pxlq · 2021
Space Debris [ravaged]
whalestreet-x-pxlq · 2021
send/receive
snowfro · 2025
Blooms
cory-haber · 2024
Fantasía
alejandro-campos · 2024
Sheets
rudxane · 2024

Last updated 2026-07-16