Gels
Jason Brown - Shawn Douglas · 2022 · Factory
**Gels** is a science-inspired generative piece. Our algorithm simulates *gel electrophoresis*, a powerful experimental method in molecular biology used daily by thousands of scientists worldwide. In the lab, scientists "run a gel" to separate and visualize molecules such as DNA, RNA, and proteins. These molecules appear as patterns of bands when photographed, and those patterns can be used to interpret the results of experiments. The DNA band patterns in this work derive from combinations of a simulated experimental data and real-world data, including DNA sequences that encode several variants of the SARS-CoV-2 spike protein, and the corresponding mRNA vaccines. Our algorithm first generates plausible sample tubes that typically contain one or more DNA fragments. Then, each sample is distributed and "run" on a simulated gel to create the characteristic band patterns that might be observed on real gels. Our simulations also take into account human error — mistakes are common in the lab, especially for novice researchers, but they can also lead to visually interesting results. For example, uneven salt concentrations or applying excess voltage can cause warping effects. Finally, we aim to leverage proceeds of this project to support future scientific research! We invite interested collectors to follow along with our future work.
How it works
The core is a fragment shader that imitates gel electrophoresis. The experimental technique used daily in molecular biology to separate and visualise DNA, RNA and proteins is reproduced with a regl shader. Molecules migrate through the gel and appear as a pattern of bands at positions according to their size, computed pixel by pixel and raised up. The pattern of bands that appears when you 'run a gel' in the laboratory is a clue for reading the information of the molecules. By drawing that scientific image generatively, an abstract screen of bleeds, gradations and banded stripes arises. The hash determines the number of bands, their positions and the colour scheme, generating a different gel image, point by point, inspired by science.
Palette
#e600e6#888888#f7f7f7#fefefe#e5e5e5#cccccc#ffffff#f5f5f5#333333#282828#383838#343532#24323d#0c7465#59d99d#48e0a5#27b17d#8ff1be#aaaa00#f0f1e9#5fb3c8#ee6d3c#f4bd00#cb93cf#7d6651#232133#d68595#9d8ecc#8db9ce#c3d585#d5d5d5#f6f6f6 +100 more #111111#232322#f0e8dd#130881#cdbba6#69653e#3b2194#43402d Algorithms
- Fragment Shader (GLSL) primary · classification: rule-based
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16