Stains on a Canvas

Omar Lobato · 2022 · Factory

Diagonal bands of indigo blue and dusty mauve sweep across a vertical canvas, rendered in dense vertical hatching that resembles woven thread or rain-streaked fabric. The frayed edges dissolve into a pale cream border, lending a textile-like softness. The repeating stripes carry a quiet, melancholic rhythm.
Omar Lobato · via Art Blocks ↗ · © the artist
Sample output of Stains on a Canvas
Omar Lobato · via Art Blocks ↗ · © the artist
Sample output of Stains on a Canvas
Omar Lobato · via Art Blocks ↗ · © the artist
Sample output of Stains on a Canvas
Omar Lobato · via Art Blocks ↗ · © the artist

This project is an exercise in simplicity, simulating stains of ink made through points and noise. Since creating art with code, I’ve wanted to reproduce the physical with the digital. Stains On A Canvas emerged from this desire to produce a hand-made canvas painting. Stains On A Canvas’s background textures use points or grids, and the algorithm explores the maximum difference between each iteration. The collection is divided into styles, named after popular flowers in my country [Brazil]. Colors are randomly generated to create unique tones paired with the variety of shades and shadows. -Press from 1 - 9 in your keyboard to adjust the pixelDensity and increase/equalize the resolution quality according to your screen. -Press "S" to save a .png file in the resolution quality you choose.

How it works

The core is the displacement of points by noise. It prepares a grid of coloured points that fills the screen and shifts each point's position with a combination of Perlin noise and trigonometric functions (sin, cos, tan). Places where points gather densely and where they scatter arise, and masses of gradation surface like stains of ink that have fallen and spread on paper. From a wish to recreate a hand-painted canvas digitally, it makes a stain texture with only points and a grid, drawing out the difference of each point to the utmost. Each time the noise coefficients and the palette change, it produces a 'stain on a canvas' whose bleeding shape and spread differ at every point.

Palette

From the generator script · 9
#f5f5dc#fdf5e6#faf0e6#faebd7#ffebcd#fffff0#fff8dc#fff5ee#d2d2b4
Extracted from outputs · 8
#f0e8d1#8a7cad#9d2fda#397266#2a4432#86a180#bdbfba#cfa4d8

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 (2022-09) → art-blocks
Script hash
6f05007e018fec57feb632b44a96870d35773da9f451d47e1f4f4c202a7ec840
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #365

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

A Snap in Time
qubibi · 2025
BUSIEST
james-merrill · 2025
BUSY
james-merrill · 2025
Diggly Collects All
dca · 2025
Material Violence
jeres · 2025
Balance
kelly-milligan-x-amber-vittoria · 2024
Blooms
cory-haber · 2024
Bokeh (lamps)
mpkoz · 2024

Last updated 2026-07-16