Skip to content

jaceyang97/practices

Repository files navigation

A selection of generative sketches from this archive

practices

An ongoing archive of generative art — drawn with code.

67 standalone sketches in p5.js & three.js: geometric studies, flow fields, recursive fractals, image mosaics, op-art recreations, and volumetric 3D glass. Every piece is a single self-contained script — open it, run it, remix it.


pieces p5.js three.js license last commit


Gallery

Ordered as made, from the first studies to the latest pieces. Click any sketch to read its source.

Shadow Square Study
Shadow Square
p0 · geometric
Square with Center Line
Bisected Square
p1 · geometric
Diagonal in a Box
Diagonal in a Box
p2 · geometric
Random Diagonal Lines
Random Diagonals
p3 · interactive
Diagonal Tile Grid
Diagonal Tiles
p4 · tiling
Tiling Lines
Tiling Lines
p5 · tiling
Displacement Lines Grid
Displaced Lines
p6 · geometric
Displaced Horizontal Lines
Jittered Dots
p7 · geometric
Displaced Horizontal Lines
Displaced Rows
p8 · generative
De Casteljau Bézier
De Casteljau
p9 · bezier
Tiling Curves
Tiling Curves
p10 · tiling
Noise-Displaced Curves
Noise Curves
p11 · perlin-noise
Joy Division Logo
Joy Division Logo
p12 · generative
Curved Lines Repetition
Drifting Splines
p13 · generative
Noise-Displaced Curve Field
Noise Curtain
p14 · flow-field
Random Shape Tiling
Random Tiles
p15 · tiling
Rotated & Displaced Grid
Rotated Grid
p16 · geometric
Drifting Closed Curves
Drifting Curves
p17 · generative
Recursive Tile Drift
Tile Drift
p18 · recursion
Jittered Triangle Fractal
Triangle Fractal
p19 · recursion
Eye of Sauron
Eye of Sauron
p20 · recursion
Chromatic Tile Grid
Chromatic Tiles
p21 · tiling
Twisted Color Pipes
Twisted Pipes
p22 · generative
Braided Color Pipes
Braided Pipes
p23 · generative
Silky Drift Circles
Silky Drift
p24 · generative
Color Fractal Circles
Fractal Circles
p25 · fractal
Perlin Noise Flow Field
Flow Field
p26 · flow-field
Mona Lisa Circle Grid
Mona Lisa Circles
p27 · halftone
Mona Lisa in Recursive Circles
Mona Lisa Rings
p28 · image-sampling
Mona Lisa Lego Blocks
Mona Lisa Lego
p29 · pixel-art
Audio Spectrum Waves
Audio Spectrum
p30 · audio
Maze Escape Path
Maze Escape Path
p31 · geometric
3D Parametric Flower
Parametric Flower
p32 · webgl
Camellia Point Cloud
Camellia Cloud
p33 · webgl
Calico Logo
Calico Logo
p35 · logo
Golden Pavilion on Fire
Pavilion on Fire
p36 · halftone
Dystrophin Poster Display
Dystrophin Poster
p37 · image
Six Grids, Five Folds
Folded Grids
p38 · after John Walker, 2008
Folding Grid
Folding Grid
p39 · geometric
Vanish
Vanish
p40 · after Sol LeWitt, 1994
Ring and Cross Panels
Ring & Cross
p41 · after Sol LeWitt
Wall Drawing #821
Wall Drawing #821
p42 · after Sol LeWitt, 1997
Abstract Painting, Blue
Painting, Blue
p43 · after Ad Reinhardt, 1953
Abstract Painting Black
Painting, Black
p44 · after Ad Reinhardt, 1960s
Anthropic Shape Library
Shape Library
p45 · grid
One Shape, Seven Colors
Seven Colors
p46 · grid
Shape Grid with 2×2 Block
Accent Block Grid
p47 · grid
Shape Category Browser
Shape Browser
p48 · svg
Shape Grid 2×2 Block
2×2 Block Grid
p49 · grid
Shape Grid 2×2 Block
Color Accent Grid
p50 · grid
SVG Shape Grid Mosaic
Shape Mosaic
p51 · geometric
18 Mini Compositions Grid
18 Compositions
p52 · grid
Six Shape Compositions
Six Compositions
p53 · grid
SVG Shape Collage Grid
Shape Collage
p54 · grid
Chromatic Density Grid
Density Gradient
p55 · grid
Scale and Overlap
Scale & Overlap
p56 · collage
Order to Chaos
Order to Chaos
p57 · grid
SVG Shape Packing
Shape Packing
p58 · packing
Recursive Mondrian Grid
Mondrian Split
p59 · recursion
Concentric Ripples
Radial Ripples
p60 · concentric
Converging Grid
Converging Grid
p61 · after Pixel Symphony, 2025
DAC Badge Generator
DAC Badges
p62 · generative
Cathedral Glass
Cathedral Glass
p63 · three.js
God-Ray Weight Function
God-Ray Falloff
p64 · three.js
Cathedral Unit-Distance Glass
Leaded Glass Dome
p66 · three.js
3 Carrés Noirs
3 Carrés Noirs
p67 · after Vera Molnár, 1950
Central Gravity
Central Gravity
p68 · after Milan Dobeš, 1965

Recreations & references

Several pieces are faithful recreations of existing works, studied by rebuilding them in code:

  • Folded Grids — after John Walker, 2008  p38
  • Vanish — after Sol LeWitt, 1994  p40
  • Ring & Cross — after Sol LeWitt  p41
  • Wall Drawing #821 — after Sol LeWitt, 1997  p42
  • Painting, Blue — after Ad Reinhardt, 1953  p43
  • Painting, Black — after Ad Reinhardt, 1960s  p44
  • Converging Grid — after Pixel Symphony, 2025  p61
  • 3 Carrés Noirs — after Vera Molnár, 1950  p67
  • Central Gravity — after Milan Dobeš, 1965  p68

The early line-and-grid studies (p0p8) follow exercises from Tim Holman's Speedrunning through p5.js talk.

Run it locally
npm install
npm run dev          # http://localhost:3000

A React + Vite gallery loads each sketch in an isolated iframe (p5.js from CDN). Use the arrow keys or the control panel to move between pieces; press S to save the current frame as a PNG.

How it's built
  • Sketches live in artworks/ as vanilla p5.js / three.js scripts (p0.jsp68.js).
  • A small Vite plugin scans that folder and auto-generates the gallery manifest — adding a file is all it takes.
  • The thumbnails above are rendered headlessly straight from the live sketches (see scripts/capture_gallery.py).
67 sketches · 62 p5.js · 5 WebGL/three.js · MIT licensed

About

Generative art archive — geometric studies, flow fields, op-art recreations & 3D stained glass, in p5.js & three.js

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors