ArticleslgStudy

computer science

Creative coding

Creative coding is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Creative coding rather than just read about it. In short: Creative coding is a type of computer programming in which the goal is to create something expressive instead of something functional. It is used to create live visuals and for VJing, as well as creating visual art and design, entertainment (e.g. video games), art installations, projections and projection mapping, sound art, advertising, product prototypes, and much more.

Creative coding — main illustration
Creative coding — illustration

Key takeaways

  • Creative coding belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Creative coding to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Creative coding from memory before moving on to harder problems.

Reference excerpt

Creative coding is a type of computer programming in which the goal is to create something expressive instead of something functional. It is used to create live visuals and for VJing, as well as creating visual art and design, entertainment (e.g. video games), art installations, projections and projection mapping, sound art, advertising, product prototypes, and much more.

History Using programming to create art is a practice that started in the 1960s. In later decades groups such as Compos 68 successfully explored programming for artistic purposes, having their work exhibited in international exhibitions. From the 80s onward expert programmers joined the demoscene, and tested their skills against each other by creating "demos": highly technically competent visual creations. Recent exhibitions and books, including Dominic Lopes' A Philosophy of Computer Art (2009) have sought to examine the integral role of coding in contemporary art beyond that of Human Computer Interface (HCI). Criticising Lopes however, Juliff and Cox argue that Lopes continues to privilege interface and user at the expense of the integral condition of code in much computer art. Arguing for a more nuanced appreciation of coding, Juliff and Cox set out contemporary creative coding as the examination of code and intentionality as integral to the users understanding of the work. Currently there is a renewed interest in the question of why programming as a method of producing art has not flourished. Google has renewed interest in their Dev Art initiative, but this in turn has elicited strong reactions from a number of creative coders who claim that coining a new term to describe their practice is counterproductive.

Artists using creative coding Some contemporary artists who use creative coding in their work are Daniel Shiffman, Zachary Lieberman, Golan Levin, Ben Fry, and Giles Whitaker.

List of creative coding software Although any technology or programming language can potentially be used for creative purposes, certain libraries and frameworks have been specifically crafted to aid in the rapid prototyping and development of creative works. Software toolkits frequently used in this context include:

Hardware use Creative coding occasionally involves hardware components for inputting data from the environment, producing output or for interacting with participants. Examples of commonly used hardware includes microphones, webcams or depth cameras, motion controllers, single-board microcontrollers, MIDI controllers, projectors, LED strips, printers and plotters.

See also Creative computing Computer art Demoscene Generative design Generative art List of mathematical art software Live coding

References

Maeda, John (Jan 1, 2004), Creative Code: Aesthetics + Computation (1st ed.), Thames & Hudson, Limited, p. 239, ISBN 0500285179 Greenberg, Ira (May 28, 2007), Processing: Creative Coding and Computational Art (Foundation) (1st ed.), friends of ED, p. 840, ISBN 978-1-59059-617-3, archived from the original on January 27, 2011, retrieved March 12, 2014

External links The Art of Creative Coding Video produced by Off Book Creative Application Network, a website that showcases new work Dev Art - Art made with Code, a project by Google CreativeCode.io, an education initiative of GrayArea.org push.conference is a series of events and workshops aiming to unite Creative Coders & User Experience Designers OF Course is a creative coding program to give both hardcore coders and designers with no programming experience the hands on experience, tools, ideas, and full support for making their own stunning projects. Vidcode is a creative coding platform for K-12 classrooms to learn to code through creative coding courses.

Illustrations

Creative coding: A heavily modified version of the classic 1980s video game Breakout produces visually interesting glitches.
A heavily modified version of the classic 1980s video game Breakout produces visually interesting glitches.

Worked examples

Example 1 — a first encounter with Creative coding

Start with the simplest possible case. Write down what Creative coding claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Creative coding before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Creative coding ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Creative coding

In research
Creative coding appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Creative coding in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Creative coding is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer programming, Creative coding, Creativity techniques, so understanding it makes those chapters shorter.
In everyday life
Look for Creative coding outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Creative coding” →

How to study Creative coding in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Creative coding means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Creative coding out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Creative coding in simple terms?

Creative coding is a type of computer programming in which the goal is to create something expressive instead of something functional. It is used to create live visuals and for VJing, as well as creating visual art and design, entertainment (e.g. video games), art installations, projections and pro…

Why does Creative coding matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Creative coding?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Creative coding.

Tags

  • Computer programming
  • Creative coding
  • Creativity techniques

Keep exploring