Start this hobby
Your first practical checklist
Buy or borrow
A computer with a web browser. Any laptop will do; the p5.js web editor runs in the browser with nothing to install.
First 30 minutes
Open the p5.js web editor and draw circles, lines and rectangles with code, then change the numbers and see what moves.
First week goal
Choose a palette, fix a random seed, make one finished piece, export it as a PNG and share it for feedback.
Avoid this mistake
Pasting in code you don't understand teaches nothing, so type it out and change one value at a time to see what it does.
Is this for me?
A quick fit check
Good signs
- You like both visual design and logic puzzles, and enjoy seeing a small code change transform an image.
- You enjoy experimenting and choosing the best from many outputs, rather than getting one piece right first time.
- You're drawn to patterns, geometry, textures and the maths you spot in nature.
Think twice if
- You have to learn some programming, and the first hours are mostly fixing errors rather than making art.
- Much of what you generate will be dull, so choosing and refining takes patience and a developing eye.
- Some people lump generative art in with AI image tools or NFT sales, so expect questions about what counts as your work.
Make generative art easier
Use the p5.js web editor, which needs no install, and remix an example sketch by changing numbers before you write anything from scratch.
First session
What to do in the first 30 minutes
Open the p5.js web editor, run the default sketch and change the canvas size and background colour.
Draw a circle, a rectangle and a line using their coordinates, and give each a fill colour.
Wrap a shape in a loop to repeat it across the canvas and use random() to vary where each one lands.
Run it several times, pick the best result and save it as an image.
The appeal · Digital practice
Why try generative art?
Generative art uses a system of rules, usually code with controlled randomness, to produce visuals, so you design the process rather than every mark. It differs from AI image generation, where you describe a picture in words, and from digital drawing, where you place each stroke yourself. Beginners start with p5.js or Processing, then explore noise, recursion and particle systems, and some move on to pen plotters and large prints.
Endless variations
One idea can produce thousands of versions, which drawing by hand rarely allows.
Coding with a visible result
Loops, functions and variables are easy to understand when you can see them draw.
Shareable work
Sketches run in a browser, and images and animated clips suit online sharing and prints.
Keep it simple
What you need to begin
- A computer with a web browserAny laptop will do; the p5.js web editor runs in the browser with nothing to install.
- A free creative coding environmentp5.js (JavaScript) and Processing are the usual starting points, with reference pages and examples you can remix; Python also works.
- A code editor (when you outgrow the web one)A free editor lets you keep projects on your own computer and save versions as you go.
- A sketchbookDraw grids, shapes and colour palettes on paper before coding, and jot down the random seeds that gave images you liked.
The fundamentals
Four skills to build
Coordinates, shapes and colour
Knowing how the canvas grid places shapes, and how colour values work, is the base of every sketch.
Loops and functions
Repeating and reusing code lets one small idea fill the whole canvas.
Randomness and noise
Random values give chaos while Perlin noise gives smooth variation; controlling both, with seeds, is the heart of the form.
Composition and curation
Limiting palettes and choosing the strongest outputs is what turns a pretty pattern into a piece.
Software deep dive
Generative Art: zero to professional
Data work turns messy source material into a trustworthy explanation. The professional skill is not producing a chart—it is preserving meaning through collection, cleaning, analysis, visual encoding and communication.
Specific to Generative Art
Fresh starter paths and projects
Choose a path
- Sketch route: p5.js or Processing for grids, randomness, noise and interaction.
- Shader route: GLSL/Shadertoy for real-time visual systems.
- Physical route: plotters, laser cutters or prints from exported SVG/PNG work.
Project ladder
- random circle study
- grid poster
- noise landscape
- particle animation
- ten-piece daily sketch series
- physical plotted artwork
Watch-outs
- Save seeds and parameters so good accidents are reproducible.
- Export at print resolution early.
- Credit datasets, code libraries and source references.
Start with the right route
Common options and trade-offs
Python and Jupyter
Flexible analysis, automation and machine learning using libraries such as pandas and Matplotlib.
R and RStudio
Strong statistics, reporting and visualisation, particularly with the tidyverse and ggplot2.
D3, Observable, Tableau or Power BI
Interactive web visualisation or dashboarding. D3 gives control; dashboard tools accelerate business reporting.
A practical setup
Common tools and what each one does
Keep raw data separate and make transformations explicit.
Restart and run all cells to prove the notebook is reproducible.
Keep analysis, narrative and outputs connected.
Use semantic structure and accessible alternatives.
Define metrics and refresh behaviour before styling.
Large or sensitive datasets need storage outside ordinary Git.
Do not skip levels
A five-stage learning roadmap
Learn rows, columns, types, missing values, formulas and honest chart selection.
Proof you are ready to move on: Clean a small public dataset and answer three specific questions.
Use grouping, joins, reshaping and reproducible scripts.
Proof you are ready to move on: Publish a notebook or report that reruns from raw input.
Validate assumptions, design metrics and create accessible interactive views.
Proof you are ready to move on: Build a dashboard with definitions, filters and data-quality notes.
Use statistical inference, pipelines, tests and performance-aware data models.
Proof you are ready to move on: Maintain an automated analysis with monitoring and versioned outputs.
Clarify stakeholder decisions, govern data, review methodology and communicate uncertainty.
Proof you are ready to move on: Lead an analysis from ambiguous question through measured outcome.
How real work gets done
A professional workflow
Use the same sequence on small personal projects that you would use on serious work. The scale changes; the discipline does not.
- Write the decision and question before opening the data.
- Preserve raw input and document provenance.
- Profile types, missingness, duplicates and ranges.
- Transform with repeatable code and validation checks.
- Choose visual encodings that match the comparison.
- State limitations, uncertainty and refresh date beside the result.
Build evidence, not tutorial history
Three portfolio milestones
Exploratory report
Clean data, three justified charts and written findings.
Decision dashboard
Metric definitions, filters, accessibility, refresh notes and validation.
Reproducible pipeline
Automated ingestion, tests, monitoring, versioned outputs and documentation.
The difference at professional level
Habits that make work trustworthy
- ✓Never overwrite raw source data.
- ✓Define every metric in plain language.
- ✓Test row counts, keys, ranges and important totals.
- ✓Use colour and interaction accessibly.
- ✓Separate correlation, prediction and causation.
- ✓Make uncertainty and limitations visible near the conclusion.
Words you will encounter
Essential vocabulary
- Schema
- The defined structure and types of a dataset.
- Join
- Combining tables using matching key values.
- Provenance
- Where data came from and how it changed.
- Metric
- A precisely defined quantitative measure.
- Reproducibility
- The ability to recreate results from documented inputs and steps.
- Encoding
- The visual property—position, length, colour or shape—used to represent a value.
Continue with primary sources
Official learning resources
Documentation is a working tool, not something to read once from beginning to end. Follow one structured introduction, then return with specific questions from a project.
Four small steps
Your first week
- Open the p5.js web editor and draw circles, lines and rectangles with code, then change the numbers and see what moves.
- Use a loop to draw a grid of shapes, then add random() to vary size or colour and run it several times.
- Swap random for Perlin noise to get smooth flowing patterns, and save the images you like.
- Choose a palette, fix a random seed, make one finished piece, export it as a PNG and share it for feedback.
The longer path
How progress usually looks
For generative art, a sustainable rhythm is two or three sessions a week of about an hour, or a weekend afternoon on a bigger sketch. Move forward when the current step feels repeatable, not merely possible once.
First sketches
You draw shapes in code and use loops and random values to repeat and vary them.
Systems
You build grids, recursion, particle systems and noise fields, using a chosen palette and seed.
Finished series
You produce a consistent set of images or animations and can explain the rules behind them.
Output and showing
You export high-resolution prints, try pen plotters or shaders, and show work online or at meet-ups and exhibitions.
Progress markers
What improvement looks like
You draw shapes in code and use loops and random values to repeat and vary them.
You produce a consistent set of images or animations and can explain the rules behind them.
You export high-resolution prints, try pen plotters or shaders, and show work online or at meet-ups and exhibitions.
Spend deliberately
A realistic cost plan
The headline starting range is £0–£30, but access, borrowing and second-hand equipment can change that substantially.
Learn with other people
Community and safety
Finding your people
Online creative coding communities and forums for p5.js and Processing are friendly to beginners and share sketches freely. Look for UK creative technology meet-ups and art-and-tech events for in-person feedback.
Safety note
Risk is low, but avoid fast strobing or flashing animations, which can trigger seizures in people with photosensitive epilepsy, and add a warning if you share anything flickery. Take regular screen breaks and respect licences for any images, fonts or code you reuse.
Three common beginner mistakes
- Pasting in code you don't understand teaches nothing, so type it out and change one value at a time to see what it does.
- Not recording the seed means you can never recreate the image you love, so set randomSeed() and noiseSeed() and note the values.
- Piling on effects makes images muddy, so stay with one idea and a palette of two to four colours.
Good to know
One tip worth keeping
Beginners lean on pure randomness, which gives noise rather than art; limit your choices with a palette, a grid or repeated structure, and record the random seed so you can reproduce what you like. If you reuse code, images or music, check the licence.
Before you begin
Common questions
Do I need to be good at maths?+
Not to begin; basic arithmetic and a feel for coordinates are enough. Trigonometry and noise functions come in naturally as your ideas need them.
Is generative art the same as AI art?+
No. In generative art you write the rules or code that make the image, whereas AI image tools produce pictures from text descriptions using trained models.
What language should I start with?+
JavaScript with p5.js is easiest because it runs in a browser, while Processing and Python are other good options. The ideas transfer between them.
Can I sell or print generative art?+
Yes, many artists sell prints. Check the licences of any libraries or assets you used and be clear about how the work was made.
What is a pen plotter?+
A machine that draws vector lines with real pens from code, giving generative art a physical form on paper. Entry-level machines exist, but they are a later purchase, not a starting one.