- Vector slime
In the
demoscene (demo (computer programming) ), vector slime refers to a class of visual effects achieved by procedural deformation of geometric shapes.Synopsis
A geometric object exposed to vector slime is usually defined by vertices and faces in two or three
dimensions . In the process of deformation, each vertex in the original shape undergoes one or morelinear transformations (usuallyrotation ortranslation ), defined as a function of the vertex' position in space (usually a function of the magnitude of the vector) and time. The desired result is an animated geometric object behaving in a harmonic way, creating some degree of illusion of physical realism.Older vector slime implementations kept old copies of the rendering result from simple vector objects in RAM, and selected scan-lines from the different buffers in order to make a time-displacement illusion over the y-axis.
Appearance
Depending on variances in implementation, vector slime can approximate an array of physical properties. A traditional approach is to let the linear transformation vary as a smooth function of time minus the magnitude of the vector in question. This creates the illusion that there is a force applied to the origin of the object space (where the object is usually centered), and the rest of the object's body reacts as a
soft body , as each vertex reacts to a change in the force delayed by the distance to the origin. Applied to aspikeball (a sphere with extracted arms), the object could resemble the behaviour of a soft squid-like animal. Applied to acube , the object would appear as a cubic piece of jelly propelled by a ofgyro force from the inside.Areas of Application
Although the classical vector slime algorithms are far from an attempt of correct physical modelling, the result can, under certain conditions, trick the viewer into believing that there is some sophisticated physical simulation involved. The effect has therefore grown quite popular in the
demoscene to create impressive visual effects at relatively low computational cost. Interactive vector slime implementations can also eventually be found in computer games as a substitute for a more correct physical simulation algorithm.Demos featuring vector slime
* "
Crystal Dream 2 " by Triton [http://www.pouet.net/prod.php?which=462]
* "Lethal Exit" by Digital [http://www.pouet.net/prod.php?which=3226] (possibly the first demo to use this term)
* "Yuri Nation" by Non Alien Nature-V [http://www.pouet.net/prod.php?which=1943] (possibly the first hardware vector slime)
* "Shapeshifter" by Excess [http://www.pouet.net/prod.php?which=6983]
Wikimedia Foundation. 2010.