How to Start Creative Coding
- Written byJamison Kent
- Published date 13 November 2026
Key Takeaways:
- Creative coding is writing code where the aim is expressive or artistic output.
- Creative coding can also be referred to as creative programming.
- Start with one beginner-friendly software as you master the basics.
- Short courses are a wonderful option for anyone who wants live teaching and a set structure.
Computer code, much like a set of paints or a yard of fabric, can be a medium for creating art. Creative coding has become popular in commercial and non-commercial artistic spaces, from large-scale audiovisual installations to dynamic branding. So, whether you are a complete beginner or an artist looking to bring code into your existing practice, this article will tell you everything you need to know about making art with code. In the following sections, you will learn what creative coding is and how to start learning it.
What is creative coding?
Creative coding is writing code where the aim is expressive or artistic output, such as images, animation, sound or interactive work, rather than a functional tool like an app or a database.
How does it work? Creative coding, or creative programming, combines rules and restraints with randomness. The same code can produce different outcomes each time it is run.
You can use open-source coding tools such as Processing and p5.js to practise creative coding and create ‘sketches.’ These tools let designers focus on the creative aspects of coding rather than the complicated software set-up.
Damien Borowik is an award-winning creative coder, artist and UAL Short Courses tutor. He studied BA Graphic Design at Central Saint Martins before completing an MA in Computational Arts at Goldsmiths. Damien is currently teaching on the UAL Creative Coding Online Short Course. Several of his works have been acquired by the Victoria and Albert Museum for its permanent collection.
Where is creative coding used
Creative coding has become an increasingly popular field in recent years. It’s often utilised to create live visuals for performances, whether for a theatre show or a concert. Unlike traditional concert visuals, which are pre-rendered, computer code can be manipulated to generate graphics that react in real time. This is not to be confused with sound art, in which a designer can write sensor-driven code and rules that generate a continually evolving audio piece instead of a fixed track.
Art installations and projection mapping are other popular uses of creative coding. Entire rooms and buildings are transformed into light-reactive or even movement-reactive canvases. Data visualisation uses creative coding to transform traditional raw datasets into interactive visual experiences, where the data values actively inform the designs.
Creative programming has become very popular in the world of advertising, presenting adaptable marketing alternatives that respond to user interaction in real time, instead of relying on static billboards and commercials. Damien’s commercial portfolio includes clients such as Christian Dior Couture, Samsung Electronics, Southbank Centre and BBC Worldwide.
Creative coding tools and software
There is a wide variety of creative coding software and tools available. Coding tools typically fall into 3 categories: libraries where you type code, node-based tools where you connect visual blocks, and tools for live performance.
Text-based libraries
Most beginners start with software where they write lines of code and see the visual result. Processing is considered one of the most beginner-friendly tools on the market. It is free, open-source software: a sketchbook and programming language designed to teach coding in the context of the visual arts. Damien personally recommends Processing, stating: 'I particularly like Processing because it teaches you to code through typing lines of code. You type pure lines of code, and then you can see the graphical representation of what you're doing afterwards.'
p5.js is a free, open-source JavaScript library based on Processing that runs in a web editor in your browser, meaning users do not need to install anything. OpenFrameworks is an open-source toolkit for creative work, written in the C++ programming language. With many functions that resemble Processing, it is a great next step for those who have mastered the basics of coding.
Node-based visual tools
Next are tools that help designers build work by connecting visual blocks instead of typing code. Node-based, or patching, tools allow you to connect boxes that each perform one job, with lines that pass information between them.
TouchDesigner is used for real-time visuals, installations and projection mapping. It is great for beginners, as it has a free licence for personal use and learning, albeit with some limitations. If you are interested in audio-related projects, Max is visual patching software for sound, music and interactive media, which can also handle video. You can trial the software for free. Alternatively, Pure Data is a free, open-source visual programming language for sound and multimedia.
Live coding tools
Live coding is when people write and change code in front of an audience to perform visuals or music. Tools such as Hydra are used for live-coding visuals in a web browser, while Strudel is used for live-coding music in a web browser.
Shaders and physical computing
Once you are comfortable with the basics of creative programming, there are two different directions you can explore: shaders and physical computing.
Shaders are small programmes that run on a computer's graphics processing unit (GPU) to create visual effects. If you are interested in learning more, The Book of Shaders is an online, step-by-step introductory guide. Physical computing involves a designer using code to control hardware such as lights, motors and sensors. Arduino is a popular open-source electronics platform.
How to learn creative coding
This is a step-by-step guide on what to do if you are interested in learning how to code, from the first line of code to sharing your work.
- Start with one beginner-friendly tool: At the start, choose between p5.js, which runs in a browser, or Processing, which you download, and stay with that one tool while learning the basics.
- Work through the official beginner tutorials in order: Both p5.js and Processing have official beginner tutorials on their websites. Work through these in order to gain an understanding of how to use the tool properly before getting started. If you need extra guidance, the YouTube channel The Coding Train has beginner video tutorials for both p5.js and Processing.
- Learn concepts as each project needs them: The building blocks you will first encounter as a beginner include the canvas coordinate system, shapes and colour, variables, loops, randomness and interaction with the mouse. Learn these concepts as and when a project calls for them, so you can practise at the same time.
- Make small projects: Damien suggests starting with making a creature as one of your first creative coding projects since “it allows you to get familiar with the programming environment, syntax and how to create, place and make visible graphical elements.” Then move onto a digital mandala using functions to rotate and repeat shapes, before progressing onto motion and interactivity.
- Study and remix other designers’ sketches: OpenProcessing is an online community where users can browse other people's sketches, read the code and make their own version. Reading successful code is a useful way to understand how an effect is made.
- Practise with prompts and share your work: Genuary is a month-long series of daily code art prompts that takes place in January and is open to anyone who wants to get involved. OpenProcessing is also a great platform for sharing your work.
Creative coding UAL short courses to begin learning
Short courses are a wonderful option for anyone who wants live teaching and a set structure, in addition to the self-led route above. UAL offers a Creative Coding Online Short Course, taught by Damien. The course requires no previous programming experience, and runs as live, interactive online sessions where students get personal feedback from a tutor on an assignment each week. The course will provide practical insight on pattern creation, image manipulation, data visualisation, motion graphics and interaction.
Alternatively, the Generative AI for Creativity Short Course, which is available online and on campus, is a great option for artists who are interested in how generative AI tools can support and evolve their creative practices.
Start making art with code
You can start learning how to code creatively from home today by opening the p5.js web editor or downloading Processing. And just like that, you can try your first sketch! Damien is passionate about creative coding because “every drawing or algorithm produces something unique, and there's an element of serendipity while working with algorithms to create, which I love.” If you'd like live teaching and feedback while you learn, browse our creative coding short courses and find one that suits the way you want to work.