image ///////////////////
Wandering Green
2026
Shader Experiments
Wandering Green is a series of shader sketches exploring how does green become a strcture? Each sketch draws an inspiration from sciences of living matter and classic computer graphics algorithms. It begins at my interests in noise functions and daily coding practice. It also grows out my years of interests in cyanobateria, photosynthesis, and green aesthetics, and how could generative art represent organic feelings.
01 Drop
Fractional Brownian motion (fBm)
A drop of pigment in water never falls straight. The pigment particles spread out and move randomly, which described as random walk. Brownian Motion is used to depcit this molecule-level random movement in physics[1]. Fractional Brownian motion (fBM) are used as computer approximation of these probability space by layering noises, which could achieve the appearence of clouds or mountains in computer graphics[2]. Here I started to visualize the fBm in a simple ring.
02 Thickness
Beer-Lambert Law
Under a microscope, a cell of cyanobacterium is not green on its surface, it is green through its structure with depth. Beer-Lambert Law decribes the absoprtion of light though concentration or materials. I borrow this idea and want to simulate the color depth in a flat blob on the 2D canvas.
float noise = fbm(uv * scale);
float chromaSpread = 0.06;
vec3 transmit(float t){
float aR = 1.5 + chromaSpread * 2.6;// red absorption (high)
float aG = 0.1;// green absorption (low)
float aB = 2.1 + chromaSpread * 3.2;// blue absorption (high)
return vec3(exp(-aR * t), exp(-aG * t), exp(-aB * t));
}
#algae #cyanobacteria #oxygen #algorithm #greenaesthetics