What Is Video Synthesis?

A Beginner's Guide to Making 2D Visuals

Connect a video camera to an old cathode-ray tube (CRT) monitor, the kind with a deep cabinet and a glass screen. Point the camera at the monitor and you’ll see a screen inside a screen inside a screen. Tilt the camera a little and the nested images start to spiral.

That’s video feedback. The camera sees its own output, and one small adjustment turns into a pattern as the picture goes around the loop. Video synthesis is the practice of creating and transforming moving images by manipulating signals or pixels. A photo, a camera feed, a pattern made by code, or an electrical signal can all be starting points.

Try it: lower the camera’s zoom to nest screens inside screens, then add rotation to make them spiral. The glowing dot is a hand waving in front of the lens; watch it echo through every copy of the picture.

Analog video synthesis

How video synthesis began

In the late 1960s and early 1970s, artists and engineers began building equipment that treated the television signal itself as material they could shape. Nam June Paik and engineer Shuya Abe built a synthesizer that let Paik combine and color images from different sources. It went on air in 1970 in Video Commune on Boston public television station WGBH. Around the same period, Stephen Beck pursued another line of work with instruments that could build images directly from electronic signals. Later, the Rutt/Etra Scan Processor used signals to reshape the lines of a picture on a CRT, giving flat images the appearance of waves or relief. Lucinda Furlong’s essay Tracking Video Art: “Image Processing” as a Genre follows how these early image-processing tools developed.

How an analog signal draws a picture

A CRT draws the picture by scanning it line by line. The voltage changes as the scan moves across the screen, carrying brightness or color information. Sync tells the receiving equipment where to start a line or field, keeping the picture steady.

You can make a picture directly from a signal. An oscillator produces a repeating signal. If the voltage rises and falls at the same spots on each line, you’ll see vertical stripes. A second signal that changes as the scan moves down the screen can draw horizontal bands. Combine them and you can build grids. Send different patterns to the red, green, and blue channels and the grids take on color.

A simulated CRT. In slow motion you can watch the beam paint one line at a time while the old picture fades. When the line oscillator repeats a whole number of times per line, its peaks line up into vertical stripes; set it between whole numbers and the stripes slant, because each line starts at a different point in the wave. The frame oscillator adds horizontal bands. Turn off slow motion to see the picture the way your eye would.

An oscilloscope with an X–Y mode can draw with two voltages. One moves a point horizontally and the other moves it vertically, so two repeating signals can trace a circle or a looping figure, called a Lissajous figure, that shifts as you adjust them.

Simple ratios between the two oscillators, such as 3:2, draw closed loops. The phase between them drifts slowly here, which makes the figure appear to turn in space.

Analog formats and connections

Analog television standards described the picture in scan lines. Conventional NTSC had 525 lines per frame, roughly 480 of them active. The PAL system used in much of Europe had 625 lines, with 576 active. The remaining lines included time for the scan to reset. Both systems used interlacing, which sends the picture as alternating sets of lines called fields. The i in a label like 1080i also stands for interlaced. The details are in the ITU’s analog composite video standard and in this overview of SD video sampling and line counts.

ConnectionWhat it carries
Composite videoOne analog signal combines picture brightness, color, and sync. It often uses a yellow RCA plug. The receiving device separates those parts to reconstruct the picture.
S-VideoSeparate analog paths for brightness and color. Keeping them apart helps reduce artifacts caused by the two interfering.
Component videoIn the common three-cable YPbPr format, one signal carries brightness information and two carry color differences.
VGAAnalog red, green, and blue signals with separate timing signals in a typical computer setup.

Feedback and analog gear

The monitor turns the camera’s signal into light. The camera sees that light and turns it back into a signal. Every trip around the loop applies the camera’s zoom and rotation again, which is why the angle of the camera changes how the shapes spiral. Wave a hand in front of the lens and you’ll see it echo through the picture.

Mixers, modular synths, and circuit-bent gear

  • Vintage video mixers let you combine live sources, fade between them, and create effects such as wipes or keys. Plug the mixer’s output back into one of its inputs to create a feedback loop like the camera pointed at its own screen. The mixer’s changes build up each time the signal goes around. You can blend in a camera feed and use a fader to control how much feedback returns. Older mixers may need adapters or maintenance.
  • Modern modular analog systems, such as those from LZX Industries, let you connect individual modules with patch cables. A module might make a repeating signal, change its shape, or combine it with another signal. You can use a changing voltage to control a setting, so one module can make an image while another makes it move. Patching is flexible and tactile. A substantial system can get expensive, and recreating a patch means remembering the connections and knob positions.
  • Circuit-bent gear starts with an existing device whose circuitry has been altered to make it behave in new ways. A modified processor, like the ones Tachyons+ builds, might smear color, repeat fragments, or make the picture roll. In glitch art, those apparent faults become part of the image. Circuit bending lets an artist bring that glitch aesthetic into a live performance, where an unstable signal can produce patterns that are difficult to repeat.

From analog signals to digital pictures

A capture device can sample an analog signal and turn it into a grid of pixels. Common digital capture sizes are 720 × 480 for NTSC and 720 × 576 for PAL. An active HDMI-to-composite converter goes the other way, taking a digital picture from a computer and turning it into a signal a composite-only CRT can use. That makes it possible to keep a vintage mixer or monitor in a setup that also uses a computer, and some instruments handle both analog and digital formats in one box.

Analog gear has its own character. Colors smear, pictures roll, and tiny changes can send a feedback loop somewhere unexpected. Digital graphics can approximate those textures while also making images from custom rules that can look up and change individual pixels. An analog circuit is limited to the operations built into its electronics. A hybrid instrument can pair analog signals or controls with a digital processor that runs custom graphics code.

Digital video synthesis

From the demoscene and video games to live visuals

The demoscene grew up around home computers. People made short audiovisual programs called demos that drew their pictures as they ran, often under tight limits on file size or processing power. They could create intricate motion from a set of rules and a clock. That same idea is at the heart of digital video synthesis. Finland has even added the demoscene to its national inventory of living heritage.

Programmable shading also has roots in computer animation. In 1984, Robert Cook described a way to give artists and programmers more control over how surfaces looked in a rendered image. By the early 2000s, PC graphics processors gave game developers programmable control over how shapes were positioned and colored in real time. A small graphics program called a shader could make water ripple in a game or fill the screen with a pattern that moved over time. If you want to learn to write shaders yourself, The Book of Shaders is a free, step-by-step introduction that runs its examples right in the browser.

Digital video basics

Video works like a flipbook. Each picture is a frame, and the frame rate tells you how many frames play or are produced each second. At 30 frames per second (fps), a new picture appears every 1/30th of a second during playback.

A digital frame is a grid of pixels. Finding a pixel is like finding a square on a map. X gives you the horizontal position and Y gives you the vertical position. Together they describe a flat 2D plane. Different tools can start counting from different corners. In 3D graphics, Z is a third coordinate that can describe depth. In 2D you can still suggest depth by changing a shape’s size, overlapping shapes, or adding shading.

Output resolution and aspect ratio

Resolution is the size of the picture, usually written as width × height in pixels. Output resolution is the size your system sends to a display or writes to a video file. To preserve native 4K detail, the whole signal chain needs to carry 4K through to a display that can show it.

Say a 4K source passes through a device that processes video at 1080p and then upscales it to 4K. Detail is lost in the step down to 1080p. The display receives a 4K signal, but it’s showing an enlarged version of the 1080p image. Fine lines and textures can look softer than they would in the original 4K picture.

Aspect ratio describes the shape of the picture. Both 1920 × 1080 and 3840 × 2160 are 16:9. Swap the width and height of 1920 × 1080 and you get 1080 × 1920, a 9:16 frame for vertical video.

FormatWidth × height
720p (HD)1280 × 720
1080p (Full HD)1920 × 1080
1440p (QHD)2560 × 1440
4K UHD3840 × 2160
8K UHD7680 × 4320
8K UHD7680 × 4320 · 33.2 MP4K UHD3840 × 2160 · 8.3 MP1440p2560 × 1440 · 3.7 MP1080p1920 × 1080 · 2.1 MP720p1280 × 720 · 0.9 MP9:16 · 1080 × 1920
Drawn to scale. 4K UHD has four times the pixels of 1080p, and 8K has four times as many again. The dashed magenta frame is 1080p turned on its side for vertical video.

The p in 1080p stands for progressive. The lines of each frame are presented in order, in one pass.

Frame rate and refresh rate

Refresh rate is how often the display updates, measured in hertz (Hz), and is the physical capability of the hardware display (TV, projector, and so on). Higher frame rates can make motion look smoother when the source delivers new frames steadily and the display refreshes fast enough to show them. The display needs a mode that can keep up with the frame rate. For example, a steady 60 fps can play evenly on either a 60 Hz or 120 Hz display.

If an adapter limits a 60 fps source to 30 fps, only 30 unique frames per second reach the display. If the screen still refreshes at 60 Hz, it can show each delivered frame twice. You see the same 30 moments in the motion each second. For live visuals, frame pacing matters too. Motion looks smoother when new frames arrive evenly. A compatible variable refresh rate display can follow the timing of incoming frames within its supported range.

All three balls make the same trip across a 60 Hz display. The 30 fps ball moves in bigger jumps because each frame stays up for two refreshes. The bottom ball also averages 30 fps, but its frames arrive unevenly, so its motion stutters.

That’s how to read 4K at 60 Hz. The 4K describes the size of the picture being sent. The 60 Hz describes how often the display can update in that mode.

Digital connections such as HDMI and DisplayPort carry picture data to a monitor or projector. The devices and connection need to support the combination of resolution, refresh rate, and color bit depth you plan to use to avoid quality degradation.

How screens and pigments make color

Light in the visible range has different wavelengths. A narrow band can look red, green, or blue depending on its wavelength. Many colors we see come from mixtures of wavelengths. Magenta, for example, can come from mixing red and blue light.

Aside: magenta isn’t in the rainbow
Every color in a rainbow matches a single wavelength of light, running from violet through blue, green, yellow, and orange to red. Look for magenta and you won’t find it. No single wavelength looks magenta.

Your eye senses color with three types of cone cells, most sensitive to long (reddish), medium (greenish), and short (bluish) wavelengths. Any single wavelength between red and violet excites the medium cones at least a little. Red and blue light arriving together, with no green, does something no single wavelength can: it excites the long and short cones while leaving the medium cones mostly quiet. If your brain simply averaged the two lights, you’d expect to see something like green, the wavelength halfway between them. Instead it invents a new hue for that combination: magenta.

Strictly speaking, every color is something your brain constructs from cone signals. Magenta is just the one with no wavelength to point to, which is why it’s called an extra-spectral color. It’s what lets the straight line of the spectrum close into a color wheel.

The spectrum is a line with two ends: violet at about 380 nm and red at about 700 nm. Bend it into a circle and there’s a gap between red and violet that no wavelength fills. The magenta and purple hues there are mixtures of red and blue light that your brain gives a color of their own.

Most screens make color by combining red, green, and blue light. A digital pixel usually stores three values telling the display system how much of each channel to use. Start with black and add red and green light in the right balance to get yellow. Raise all three channels equally to go from black through gray to white. This is additive color mixing.

Paint and ink work by subtractive color mixing. When white light falls on paint, the pigments absorb some wavelengths and reflect others back to your eye. Cyan pigment absorbs mostly red light, and yellow pigment absorbs mostly blue. Mix them and much of the light left to reflect is green. A digital Add blend combines light contributions, while mixing paint changes which parts of the light get absorbed. That’s why the two can give you different results.

Additive: light (RGB) Subtractive: pigment (CMY)
Left: red, green, and blue light add up, so overlaps get brighter and all three make white. Right: cyan, magenta, and yellow inks each absorb part of white light, so overlaps get darker and all three make something close to black.

On a screen, the same RGB numbers can mean different colors depending on the color space. A color space such as sRGB or Display P3 defines what those numbers mean, including which red, green, and blue serve as the starting points. Its gamut is the range of colors it can describe. Display P3 covers some colors outside sRGB, and any given display can reproduce only a portion of the colors human vision can perceive.

To see the full range of colors your source can send, the display’s gamut needs to cover that output color space and the signal chain needs to carry it correctly. Send a Display P3 image to a display limited to sRGB and some of its more saturated colors have to be mapped to colors the display can show. They may look less vivid, and shades that were distinct in the original can look alike.

Hue, saturation, and how bright a color looks

  • Hue is the color family, such as red, green, blue, or something in between.
  • Saturation describes how vivid a color looks compared with a neutral gray. A muted rose and a punchy red can have a similar hue with different saturation.
  • Luminance measures how much light comes from an area in a given direction, weighted for human visual sensitivity. Green contributes more to that measurement than blue at the same relative light level. Luma is the version video systems calculate from gamma-encoded RGB values, and the two terms are often used interchangeably.
  • Brightness is how bright something appears. The same gray patch can look brighter against black than it does against white. That’s perception responding to the surroundings.

Why does green count for so much? Two of your three cone types, the long- and medium-wavelength ones, provide most of the signal your brain reads as brightness, and their sensitivities overlap heavily in the green and yellow part of the spectrum. The short-wavelength cones, the ones most responsive to blue, make up only a small fraction of all cones and add little to perceived brightness. Put together, daylight vision is most sensitive at around 555 nm, a yellow-green, as described by the CIE luminous efficiency function. Video standards build this in. HD video’s Rec. 709 calculates luminance as 0.2126 × red + 0.7152 × green + 0.0722 × blue, so full green carries about ten times the luminance of full blue.

Red 21%
Green 72%
Blue 7%
Top: how sensitive daylight vision is to each wavelength. Bottom: full red, green, and blue. Turn on the gray view to replace each with the gray of the same luminance, and the percentages show each one’s share of white.
Way to choose a colorWhen it helps
RGB slidersAdjust the three channels directly. Good for precise channel values and for seeing how they mix. Finding a slightly darker version of a color can take several slider moves.
HexA compact way to write RGB values, such as #FF8000. Handy for copying an exact color between tools that interpret it in the same color space. Small changes are harder to judge by eye.
HSV or HSLStart with a hue and adjust its saturation and either value or lightness. Handy for exploring a palette. HSV and HSL use different math, and colors with the same value or lightness can look very different in brightness.

Bit depth and banding

Bit depth tells you how many steps are available to store a channel. At 8 bits per channel there are 256 possible values. At 10 bits there are 1,024. More steps can make a gradient smoother, especially when you stretch a narrow range of tones or repeatedly adjust an image. If the gaps between levels become visible, you see contour-like stripes called banding.

Levels per channel:

Lower the bit depth to watch bands appear. Even at 8 bits, a dark, narrow gradient like this one can show faint steps. Boost the contrast afterwards, as an effect or a color adjustment might, and they become obvious, while 10 bits holds up. The wide-gamut toggle is an illustration: the same gradient lands on fewer code values when those values have to cover a larger range of colors.

Bit depth and color space go hand in hand. The color space sets the range of colors the numbers can describe, and the bit depth sets how finely that range is divided. Spread the same 256 levels across a wider gamut such as Display P3 or Rec. 2020 and each step covers a bigger jump in color, so banding shows up sooner. That’s why wide-gamut and HDR formats call for more bits: Rec. 2020 specifies 10 or 12 bits per channel, and HDR10 uses 10.

The same goes for compatibility along the signal chain. If a source renders 16-bit Display P3 but an adapter, cable, or display only carries 8-bit sRGB, the picture is converted on the way: colors outside sRGB are mapped to ones the display can show, and the extra levels are rounded away. A gradient that was smooth at the source can band on the screen. Chromatose, for example, offers 8-bit SDR, 16-bit SDR, and 16-bit HDR render modes, and switches from HDR to SDR when the connected display doesn’t support HDR.

Dynamic range describes the span from the darkest to the brightest level a system can capture or display. Bit depth describes how finely it can divide the range into steps.

From a starting image to a moving composition

Suppose you want to put a colored circle over a live camera feed, make it pulse with the music, and give it a trail. Start with a circle you drew or made with code. Once you have both pictures, compositing combines them into one frame.

Alpha is a value you can store alongside the color to describe opacity. An alpha of zero makes a pixel fully transparent. An alpha of one makes it fully opaque. In between, some of what’s below shows through. A mask lets you vary that opacity across an image. Draw a soft circle as a mask and the camera feed can fade away toward its edges.

Mix a color from its red, green, and blue channels, then lower A, its alpha, to let the checkerboard behind it show through. Each channel has 256 steps, from 0 to 255, as in an 8-bit image. Underneath the color is its code, written the way CSS and hex color pickers write it.
Feedback needs some transparency
In a common feedback setup, each new frame is drawn on top of the saved previous one. Where the new frame is opaque, it covers what’s below, so the trail can only show through where alpha is less than one. If the image going into the loop fills every pixel at full opacity, like a full-screen camera feed or a pattern with no gaps, it hides the previous frame completely and the feedback seems to do nothing. That’s why the circle in our example sits on a transparent background. To bring feedback to a full-frame image, cut some space out of it first, for example with a key or an edge effect. Some setups, such as one that mixes the frames with an Add blend, can work without transparency. The Chromatose manual covers this under The Feedback Effect Is Not Working.

A blend mode controls how colors from two layers interact where they overlap. Normal uses the layer’s opacity to determine how much shows through. Add adds the color contributions, so light can build up where images overlap. Multiply makes overlaps darker and can give the impression of layered inks. Difference subtracts one layer from the other, so identical colors turn black. Try the same two images with each mode and you’ll get very different results. Chromatose’s Blend + Composite Reference shows every combination of its blend and composite modes side by side.

Blend mode
Drag the circle over the macaw and switch blend modes. Lower the opacity to let more of the photo through.

Keying makes a mask from the image

Keying looks at the image and uses a rule to decide which parts to keep or make transparent. It’s useful when you want to isolate a subject or bring a pattern into another image without drawing a mask for every frame.

  • Chroma keying selects a color range. A green screen makes it easier to replace the background behind a person.
  • Luma keying selects by how light or dark parts of the signal are. It can lift bright sparks out of a dark image to place over other footage.
View
The threshold sweeps across its full range on its own until you drag it. Pixels brighter than the threshold keep the fireworks; darker ones let the moving color bands behind show through. Softness blends the edge instead of cutting it hard. Switch the view to Key mask to see the mask itself: white is kept, black is transparent.

Modulation automates changes

Modulation means one signal changes a setting over time. Attach a slow, repeating signal to the circle’s size and it grows and shrinks. That signal can come from a low-frequency oscillator, or LFO. You can set how fast it repeats and how much it changes the size. An audio signal can serve a similar role. For instance, you can follow the strength of the bass and use it to make the circle expand with the kick drum. A knob or fader gives you direct control over the same setting.

Now the circle is moving, so give it a trail. Save the previous frame, rotate it slightly, fade it, and mix it into the new frame. The circle’s earlier positions stay visible and drift as they pass through the loop again. The picture saved in memory closes the feedback loop.

Shape
The wave on the left is the LFO’s output over the last few seconds; its newest value, the dot, sets the circle’s size. Change the shape, the rate (how many times per second the wave repeats), and the depth (how far it moves the size).

Four effects worth understanding

Blur and edge detection

A kernel is a small grid of numbers that tells an effect how much to use each neighboring pixel. Imagine a three-by-three window centered on the pixel you’re changing. For a simple blur, you average the nine values. Repeat that across the image and hard transitions soften. Use larger weights near the center to give closer pixels more influence, as a Gaussian blur does.

Edge detection uses those neighbors differently. Compare the pixels on the left with the pixels on the right and a big difference tells you there’s probably an edge running vertically through that spot. Compare above and below to pick up horizontal edges. Combine the results and you can turn a camera feed into moving outlines.

3 x 3 kernel
Effect
The grid shows the kernel’s weights. Each output pixel is its 3 × 3 neighborhood multiplied by those weights, added up, and divided by the total. More passes repeat the blur on its own result. Edge detection runs the kernel shown (left vs right) plus a rotated twin (above vs below) and combines them.

Displacement

Displacement changes where an effect looks up the original color for each output pixel. Picture a photo with wavy glass in front of it. You still see the photo’s colors, but they appear in shifted positions.

A displacement map can tell the effect how far to look left, right, up, or down. Use a moving wave as the map and a straight line ripples. Use another image and its shapes can distort the photo. The map can also come from a previous frame, letting a moving pattern distort its own trail.

Displacement map (noise)
Photo, displaced
Mid-gray in the map leaves a pixel where it is. Lighter and darker areas look up colors from further away, in opposite directions. The amount loops from zero to full and back; drag the slider to scrub it yourself, and press play to resume.

Dithering

Dithering uses small variations in neighboring pixels to suggest a tone between the ones you can actually display. If you have only black and white, an area made of alternating black and white dots can look gray from a distance. Change the proportion and it looks lighter or darker.

The idea has roots in print halftoning, where dots cover more or less paper to suggest different shades using a single ink. In early computer graphics, a limited palette could help fit an image into the available display hardware or memory. Dithering hid some of the loss by arranging the colors that were available into patterns, using methods like Floyd–Steinberg error diffusion and Robert Ulichney’s void-and-cluster halftoning. Today, artists often make those patterns visible on purpose to evoke the aesthetic of old games, early computer graphics, or printed images.

Method
The same photo in just two colors, black and cyan. Threshold picks whichever is closer for each pixel and loses the midtones. Ordered dithering compares each pixel with a repeating 4 × 4 pattern. Error diffusion passes each pixel’s rounding error on to the neighbors not yet drawn.

How a computer draws the picture

Think back to the blur. The same step has to run for every pixel, and a single 4K UHD frame has more than eight million of them. The CPU is a general-purpose processor that can handle input and timing and decide what to draw next. A typical CPU task follows a sequence of steps, one after another, and a multicore CPU can run several tasks at once. The GPU, or graphics processor, is built to run many copies of the same instructions in parallel. A blur is a good fit because each copy does the same calculation at a different position in the picture. NVIDIA’s CUDA programming guide explains how the two architectures differ.

CPU, 1 core Frames drawn: 0
CPU, 2 cores Frames drawn: 0
GPU, many cores Frames drawn: 0
Each processor draws the same 16 × 16 picture of our pulsing circle. One CPU core fills one pixel at a time. Two cores split the rows between them and finish twice as fast. The GPU runs the same small program for every pixel in parallel, finishing a whole frame on every tick, fast enough that the circle animates. Real hardware is much faster than this, and a GPU works through pixels in large batches rather than literally all at once, but the proportions are the point.

Shaders are how developers program the parts of the GPU’s drawing pipeline they can customize. A shader can control where a shape goes, how it’s colored, or how an image is processed. Writing shaders can get complicated because it differs from traditional CPU programming, where instructions run one after another from top to bottom. You’re instead describing what should happen in thousands of places at once.

GPUs are built to draw triangles. A triangle is the simplest shape that encloses an area, its three corners always lie on one flat plane, and any surface, flat or curved, can be approximated by enough of them joined into a mesh. Graphics hardware is designed around processing huge numbers of triangles very quickly. Even a flat, full-screen 2D image is drawn this way: two triangles that share a diagonal make a rectangle covering the whole screen, and the image is painted onto it. Here’s how putting a photo on screen with those two triangles works:

  1. The vertex shader positions the triangles’ corners and tells the GPU which part of the photo goes at each corner.
  2. The GPU works out which parts of the pixel grid the triangles cover. This step is called rasterization. Each covered spot it prepares for shading is a fragment.
  3. The fragment shader calculates a color for each fragment. It can take the corresponding color in the photo, tint it, or look at neighboring pixels to blur it.
  4. The result is written into a framebuffer, which is memory that holds an image being drawn. The app can show that image, apply another effect to it, or keep it for the feedback loop.
Step
Step through the pipeline, or let it play. The four corners carry texture coordinates: (0, 0) is the photo’s top-left and (1, 1) its bottom-right. Rasterization turns the two triangles into fragments, one per covered pixel. The fragment shader looks up each fragment’s color in the photo, and the results land in the framebuffer. The pixel grid here is coarse so you can see it.

To draw our circle, a fragment shader gives each fragment a rule. It uses its own X and Y coordinates to check its distance from the center, then takes on the circle’s color if it’s inside. Change the radius with the music and the circle pulses. The GPU applies that rule across the image in parallel. An effect that needs the result of an earlier step often reads it from an image saved in memory. That’s how our feedback trail gets the previous frame. Figuring out what to save and what each step can read is part of what makes shaders challenging to write and debug.

A graphics API is how an application asks the graphics system to do work. These APIs all let an app draw with a GPU, with different levels of control and support across platforms.

APIWhere it runs and what sets it apart
OpenGLAn older cross-platform standard found in many creative coding tools on Windows and Linux. Its embedded relative, OpenGL ES, is used on devices such as the Raspberry Pi. Apple still offers legacy OpenGL support on its platforms, but it’s deprecated in favor of the newer, faster Metal API.
Direct3DThe graphics part of Microsoft’s DirectX on Windows and Xbox. Direct3D 12 gives developers detailed control over how work is submitted to the GPU.
MetalApple’s native graphics API for iPhone, iPad, Mac, and other Apple platforms. Apps use it to work directly with the GPU.
VulkanA modern open standard with detailed control over memory and GPU work. It runs natively on supported Windows, Linux, and Android devices. On Apple platforms, it can run through a layer that translates to Metal.

What resolution and bit depth cost

Higher resolution gives the GPU more pixels to process. A 4K UHD image is twice as wide and twice as tall as a 1080p image, so a full-screen effect has four times as many pixels to work on. Higher bit depth can also mean more data per pixel. For an uncompressed image with red, green, blue, and alpha channels, a 4K frame takes about 33 MB at 8 bits per channel or 66 MB at 16 bits per channel. The exact size depends on how the channels are stored.

That’s the size of one image. A blur can read several neighboring pixels for each result it writes, and an effect chain may keep several images in memory between steps. More pixels mean more calculations, and more data per pixel means more work moving those images around. At 60 fps, there are about 16.7 milliseconds between frames. If the hardware can’t keep up, frames can be dropped and the display may hold the previous frame longer. Uneven misses show up as stutter. Lowering the rendering resolution or easing up on expensive effects reduces the work the GPU has to finish in that time.

Choosing a digital workflow

You can make the pulsing circle respond to real-time signals like music, or build and record a loop ahead of the show. A real-time tool draws as you turn a knob, move a camera, or feed it sound. Pre-rendering gives you more time to calculate each frame and produces a finished clip you can play at normal speed. It’s often used for complex scenes that hardware couldn’t render in real time.

ApproachWhat it’s good forTrade-off
Node-based visual programmingLive inputs, custom signal flow, and interactive installationsComplex software that takes time to master, and professional licenses can be expensive
Shader codingCustom patterns and effects with fine control over how the image is madeYou take on all the programming and any optimization needed to keep it running smoothly
Video clip-based VJ softwareTriggering, looping, layering, and mixing prepared visuals liveA clip-led set depends on the footage you bring and organize
Timeline and offline renderingPrecisely timed scenes and effects that can take longer to calculateSource changes require a new render, and exported clips can take up substantial storage

Node-based visual programming

TouchDesigner, vvvv, and Notch are professional real-time tools with node-based environments. A node is a box that does a job, such as bringing in a camera feed, detecting edges, or measuring how loud the music is. Connections show where images or control signals go. You could wire a camera into an edge effect, then use the microphone level to control how strongly the edges appear. You can follow the connections to see what feeds what.

A node network flowing left to right: camera1 into edge1 into level1 into out1, each tile showing a preview of its image, with audioin1 and analyze1 below sending an audio level to edge1's strength.
The camera-and-edges patch from above, drawn as a node network with live previews, the style TouchDesigner uses. Cyan wires carry the image; magenta wires carry the audio level that sets how strong the edges are. This is an illustration, not a screenshot.

A small patch is easy to trace. Once a project has several inputs, layers, effects, and feedback loops, understanding how they interact and keeping everything running smoothly can take a lot of practice. These are deep tools that take time to master. TouchDesigner and vvvv offer free non-commercial use, and Notch offers a trial. Paid licenses for commercial work or advanced features can be a substantial expense when you’re starting out.

Shader tools you can try

  • Shadertoy is a browser playground for exploring and writing shader code. You can look at other people’s code, change a number, and watch what happens immediately.
  • KodeLife is a live shader editor that updates the picture as you edit. It’s useful when you want to build or perform with code and see changes right away, and works with Metal on macOS.
  • Synesthesia is built for live music visuals. Its built-in scenes are shader-based, and you can start by playing them and adjusting controls. You can also write and edit your own shader scenes.
  • Dedicated shader hardware puts a small computer in a standalone box or a module for a hardware rack. Slimshader, for example, uses a Raspberry Pi and glslViewer to display shader visuals. Many compact dedicated units use embedded GPUs chosen around cost, size, and power consumption. They typically have less graphics headroom than a flagship phone or a computer with a powerful GPU.

Embedded graphics and flagship phones

A system on a chip (SoC) combines the CPU, GPU, and other components on one chip. A Raspberry Pi 5 and an iPhone 18 Pro both use one, with GPUs designed for different kinds of work.

DeviceGPUGraphics and display output
Raspberry Pi 512-core Broadcom VideoCore VII, part of the BCM2712OpenGL ES 3.1 and Vulkan 1.3. Dual 4K output at 60 Hz over HDMI.
iPhone 18 ProApple A20 Pro with a 7-core GPUMetal graphics. Up to 4K external video over DisplayPort via USB-C or a compatible adapter.

Core counts and clock speeds don’t compare directly across GPU designs, but theoretical peak throughput gives a sense of scale. The Pi 5’s GPU can do roughly 0.08 to 0.12 trillion floating-point operations per second (TFLOPS), depending on its clock speed and how you count its arithmetic units. Apple hasn’t published a figure for the A20 Pro, but the A19 Pro’s 6-core GPU is rated at about 2.5 TFLOPS, and scaling that to seven cores gives about 2.9 TFLOPS. That estimate is on the conservative side: LTT Labs measured the A20 Pro 55% faster than the A19 Pro in 3DMark’s Steel Nomad Light graphics test. Put together, the iPhone 18 Pro’s GPU is about 30 to 40 times more powerful than the Raspberry Pi 5’s for the kind of math shaders do.

Memory bandwidth, which matters for effects that read many pixels such as blurs and feedback, differs by about seven times. Raspberry Pi quotes up to 17 GB/s for the Pi 5, shared between its CPU and GPU. Apple says the A20 Pro has 50% more memory bandwidth than the A19 Pro’s 76.8 GB/s, or about 115 GB/s.

GPU math (FP32, theoretical peak)
Raspberry Pi 5 ≈ 0.1 TFLOPS
iPhone 18 Pro ≈ 2.9 TFLOPS
Memory bandwidth
Raspberry Pi 5 17 GB/s
iPhone 18 Pro ≈ 115 GB/s
Bars to scale, using the estimates above. These are theoretical peaks; how fast a particular visual runs also depends on the effect, the drivers, and how well the GPU is kept busy.

Shader performance depends on the actual visual. A simple pattern at 1080p is a reasonable starting point on a Pi-class device. Multiple layers, a wide blur, and feedback at 4K60 are a much heavier job. Each full-screen pass at that setting covers about 498 million pixels per second before counting extra work such as reading neighboring pixels. The iPhone 18 Pro has far more headroom for stacking those effects and keeping motion smooth. A 4K signal tells you what the port can send. The frame rate of a particular patch comes from timing it on the device.

Clip playback and hybrid tools

Resolume Avenue and Arena are popular VJ software designed primarily for performing with video clips. A typical set starts with a collection of prepared looped video clips. You trigger them when you want them to run, layer them, mix between them, and apply effects while they play. By contrast, a true video synthesizer can build a starting image on the fly from a repeating signal or a rule that calculates a pattern, instead of relying on pre-rendered video clips. You can make a loop in a synth and bring it into Resolume to perform with it later. The two workflows can also happen in the same app. Resolume has built-in Sources that make visuals in real time, and Resolume Wire lets you build custom ones with nodes.

Some hardware combines the two, too. Sleepy Circuits’ Hypno 2 can start or loop video clips, generate live visuals with shaders, and mix the two together.

Timeline and offline rendering

After Effects is a familiar example of timeline-based motion graphics. You place layers in time and use keyframes to define values at specific moments. Blender can take a similar approach to more complex 3D scenes with objects, lights, and a camera. In an offline workflow, you can preview the project as you edit, then wait for the render to finish before you see the final output. The software can take as long as it needs for each frame, which makes this a good fit for complex scenes you’re preparing ahead of time.

Once you export the clip, the original objects, settings, and movement are baked into its frames. You can animate the circle to a song while editing, but the exported file will play back that same movement every time. To make it respond to live music, you’d need a separate live tool to scale or tint the finished clip. The circle’s original controls stay in the project, where changing them takes another render.

Finished video can also take up a lot of storage. Ten minutes at a video bitrate of 20 megabits per second comes to about 1.5 GB. A video synth can often save a patch, a small file that contains only the settings used to make the visual. A patch can be little more than a text file with values for the circle’s color, the speed of its pulse, and the amount of feedback. The synth builds the frames again when you open it, so you can pick up where you left off and change those settings live. If the patch uses imported photos or clips, you may also need those files.

When you record the result

Recording adds one more step. A codec turns the frames into data that can be stored in a file. Most everyday video uses lossy compression. It saves space by approximating details in an image and, in many formats, by describing what changed between frames. Subtle gradients can band, fine textures can smudge, and fast motion or noisy feedback can break into blocks. Video Encoding Demystified explains the settings in detail.

A real-time video synth doesn’t need any of that while it plays. Each frame is rendered and sent straight to the display uncompressed, so over a wired HDMI or DisplayPort connection the screen receives exactly the pixels that were rendered, with no codec in between and no compression loss. That’s part of why a live synth on a big screen can look cleaner and sharper than the same visuals played back from a video file, especially the fine noise, feedback trails, and smooth gradients that lossy codecs struggle with most. Compression only comes into play when you record the output, stream it, or send it wirelessly; AirPlay, for example, compresses the video on its way to the screen.

Video synthesis with Chromatose

Chromatose is a digital video synthesizer for iPhone and iPad. It can create shapes and patterns from scratch, then mix layers and apply effects as it draws each frame. On devices such as the iPhone 18 Pro, that work runs on a high-end consumer GPU you probably already have in your pocket. You build patches with on-screen controls for shapes, colors, and effects, while Chromatose takes care of all the complex shader code and signal routing. Turning a knob and seeing the result immediately makes it quick to get started.

Chromatose in action: each turn of a knob changes the picture as it’s drawn.

Every visual parameter is adjustable in real time and can be modulated by a built-in LFO or driven by live audio. Give the size of a shape a slow pulse, let the kick drum drive its color, and adjust the feedback while the patch is playing. The picture keeps responding in real time as you perform.

Take it to a show and connect to a screen or projector over HDMI with an adapter, or use AirPlay. For hands-on performance, connect any MIDI controller over USB, Bluetooth, or Wi-Fi and map its knobs or faders to settings such as size, color, or feedback. MIDI Resolution Demystified explains what to look for in a controller for visuals.


Photos used in the demos: macaw by Christopher Kuszajewski and fireworks by IIP Photo Archive, both CC0 via Wikimedia Commons.