ArticleslgStudy

science

Demo effect

Demo effect is a 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 Demo effect rather than just read about it. In short: The demo effect, also known as a display hack, is a name for computer-based real-time visual effects found in demos created by the demoscene. The main purpose of demo effects in demos is to show off the skills of the programmer.

Demo effect — main illustration
Demo effect — illustration

Key takeaways

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

Reference excerpt

The demo effect, also known as a display hack, is a name for computer-based real-time visual effects found in demos created by the demoscene. The main purpose of demo effects in demos is to show off the skills of the programmer. Because of this, demo coders have often attempted to create new effects whose technical basis cannot be easily figured out by fellow programmers. Sometimes, particularly in the case of severely limited platforms such as the Commodore 64, a demo effect may make the target machine do things that are supposedly beyond its capabilities. The ability to creatively overcome major technical limitations is greatly appreciated among demosceners. Modern demos are not as focused on effects as the demos of the 1980s and 1990s. Effects are rarely stand-alone content elements anymore, and their role in programmer showcase has diminished, particularly in PC demos. As for today, PC demosceners are more likely to demonstrate their programming skills with procedural content generation or 3D engine features than with superior visual effects.

Hardware considerations There are demos written for many different devices that vary considerably in their graphical features and data processing capabilities. The variability in hardware also reflects in types of effects invented for each platform as well as in the methods used in the implementation. The demoscene took off on home computers such as the Commodore 64 and the Amiga, which had relatively advanced and very "hackable" custom chips and CPUs. Before the widespread use of advanced computer aided design for integrated circuits, chips were designed by hand and so often had many undocumented or unintended features. A lack of standardisation also meant that hardware design tended to reflect the designers' own ideas and creative flair. For this reason, most "old school" demo effects were based on the creative exploitation of the features of particular hardware. A lot of effort was put into the reverse-engineering of the hardware in order to find undocumented possibilities usable for new effects. The IBM PC compatibles of the 1990s, however, lacked many of the special features typical for the home computers, instead using standard parts. This was compensated for with a greater general-purpose computing power. The possibility of advanced hardware trickery was also limited by the great variability of PC hardware. For these reasons, democoders of the MS-DOS era focused on pixel-level software rendering algorithms. Democoders have often looked for challenge and respect by "porting" effects from one platform to another. For example, during the "golden age" of the Amiga demos, many well-known Amiga effects were remade with Atari ST, Commodore 64 and PC, some of which were considered inferior in the key features required in the effects in question. Since the mid-1990s, when the PC had become a major platform, demos for the Amiga and the C-64 started to feature PC-like "pixel effects" as well.

Early history

The earliest computer programs resembling demo effects predate the demoscene for several decades. Perhaps the earliest example of these so-called display hacks is a program called Bouncing Ball on the Whirlwind computer in the early 1950s. Another famous display hack, munching squares, was originally created on the PDP-1 in ca. 1962.

"Old school" effects

These effects were typical in the 1980s and the early 1990s and were first implemented on either the Commodore 64, Atari ST or the Amiga. They often relied on the system's custom hardware or were considered difficult because of it. For example, 3D objects rendered in dots are somewhat tricky on systems without byte-per-pixel displays or limited video memory bandwidth, or systems with slow and/or limited (e.g. 8 bit, no FPU) CPUs.

Raster bars, also called copper bars on the Amiga. Scrollers of various kinds. Moving sprites, with the competition usually focused on the number of visible sprites per frame. Starfields, such as parallax-scrolling and perspective starfields. Smooth horizontal waving of graphics images in a per-scanline basis Shadebobs Infinite bobs Plasma effect Kefrens bars Moire patterns, particularly circles Text zoomers Simple rotating 3D objects rendered in dots, lines or filled polygons. Spline effect Vector graphics Glenz, partially see-through models with a "diamond-like" look. First seen in the "Transformer" part of Kefrens' "Megademo 8", coded by Promax. Named by Photon from the Swedish word "Gläns" (glisten or glitter) Blenk, shiny metallic aluminum-like models, from Swedish "Blänk" (shiny), also named by Photon Rubber, Twisting and/or elastic models. Also sometimes referred to as Gel

Chunky-pixel effects Effects based on software rendering into chunky-pixel framebuffers were typical in the mid and late 1990s and were usually first implemented on the PC or Falcon030. They became popular as systems with pixel-addressable high speed video memory and faster processors (to allow for more demanding real-time calculations) became common.

Effects based on static screen-to-texture lookup tables Texture-mapped tunnels and other objects rotating around their axis of symmetry Wobblers, rotators and other similar effects for 2D images Objects that reflect or refract underlying bitmap images Texture-mapped tunnel with freely moving camera, typically based on realtime raytracing Rotozoomer Mandelbrot zoomer Fire effect and other effects based on 2D filters and feedback Heightfield landscape (often called "voxel landscape") 2D bump mapping Metaballs Some of these effects were later ported to planar pixel machines such as the Amiga, without relying on chunky to planar conversion. For example, the group Sanity implemented a rotozoomer using a combination of pre-rendered planar bitmaps and copper effects.

… excerpt ends here. Continue reading the full article.

Illustrations

Demo effect: Munching squares animation
Munching squares animation

Worked examples

Example 1 — a first encounter with Demo effect

Start with the simplest possible case. Write down what Demo effect claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Demo effect 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 Demo effect 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 Demo effect

In research
Demo effect appears in 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 Demo effect 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
Demo effect is common in secondary-school and first-year university syllabi. It links to neighbouring topics Demo effects, Demoscene, so understanding it makes those chapters shorter.
In everyday life
Look for Demo effect 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 “Demo effect” →

How to study Demo effect in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Demo effect 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 Demo effect out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Demo effect in simple terms?

The demo effect, also known as a display hack, is a name for computer-based real-time visual effects found in demos created by the demoscene. The main purpose of demo effects in demos is to show off the skills of the programmer.

Why does Demo effect matter?

Because it connects several 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 Demo effect?

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 Demo effect.

Tags

  • Demo effects
  • Demoscene

Keep exploring