For faster navigation, this Iframe is preloading the Wikiwand page for Plasma effect.

Plasma effect

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Plasma effect" – news · newspapers · books · scholar · JSTOR (April 2010) (Learn how and when to remove this message) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Plasma effect" – news · newspapers · books · scholar · JSTOR (April 2010) (Learn how and when to remove this message) (Learn how and when to remove this message)

The plasma effect is a computer-based visual effect animated in real-time. It uses cycles of changing colours warped in various ways to give an illusion of liquid, organic movement.

A still screenshot of a typical plasma effect.
Animated color cycling feature as in Fractint

Plasma is the name of a VGA graphics demo created by Bret Mulvey in 1988 and released on CompuServe. It uses a diamond-square algorithm to generate a 2D pattern, and then cycles the colors using hardware palette in its 256-color mode.

Plasma was picked up by demo coders for their demos where the effect was heavily used, especially in the early 1990s. The effect was particularly common on the Amiga where it could be implemented very efficiently with its display hardware features. Plasma can also be implemented easily in software rendering by using sinus tables and pseudocolor palettes, and it has also been the first true demo effect for many beginning PC democoders.

The fractal software Fractint also incorporates an algorithm known as "plasma", which, when combined with the color cycling feature of the software, can provide a result which resembles a typical plasma effect used in demos. The technical basis, however, is completely different, and a color cycling plasma is somewhat less dynamic than a demo plasma.

Similar effects can be implemented on modern GPUs using pixel shaders.

Synopsis

[edit]
A plasma effect rendered in ANSI art by the AAlib library.

As there are many "hacked" approaches for implementing a plasma effect, this outline of an algorithm will just describe the theoretical basis for the effect. In order to achieve a sufficiently fast and good-looking real-time implementation (especially on the limited hardware available at the time this effect was at the height of its popularity in the 1990s), one would often do "non-correct" approximations to this algorithm. This, however, can often be done without noticeable visual differences.

This algorithm is given in two dimensions, but could easily be adopted to any number of dimensions or any number of color channels.

Let be a multi-frequency noise function of two variables (e.g., a Perlin noise function). Let each color component at the pixel be a linear function of the expression . Increasing the value of the constant tends to increase the steepness of the color gradients in the image.

See also

[edit]

Diamond-square algorithm is the fractal used by the original Plasma demo, and is now often called the plasma fractal which was the name given to it in Fractint.

[edit]
{{bottomLinkPreText}} {{bottomLinkText}}
Plasma effect
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?