Element:FILT

From The Powder Toy
Revision as of 16:12, 15 September 2013 by LiquidCaesium (talk | contribs) (Created page with "{{ infobox Element | icon = FILT.png | longname = Filter <!-- | image = image needed--> | advection = 0.0 | airdrag = 0.00 | airloss = 0.90 | collision = 0.0 | colour = 000056 |...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
FILT.png Filter
Properties
Section unknown Expression error: Unrecognized punctuation character "{".
Spawn temperature 22°C
Heat Conductivity 100%
Relative weight 100
Gravity 0.0
Acid dissolve rate 0.1%
Flammability 0
State Solid
Source code


Creation

Only with brush, cannot be created with reactions.

Usage

Filter's color is changed based on it's temperature. It will scale from dark blue to dark red, from temperature scale of 200C to 840C. Filter has high temperature conductivity and therefore it's color can be changed during simulation.

Filters will color BIZR and BRAY (not PSCN type) passing through it. However, most of FILT's uses are in photons.

NOTICE: Descriptions for tmp modes will be added in 89.0, as well as modes 4-9. Depending of the tmp value of FILT, here are the reactions:

  • 0 (set colour): Will color photons passing through.
  • 1 (AND): Will filter a color out of photons. This means that completely red photons will be destroyed, but purple photons turn into blue ones.
  • 2 (OR): Adds the filter's color to the color of passing photons.
  • 3 (subtract colour): Removes the filter's color from the color of passing photons.
  • 4 (red shift): Does a binary left shift with the color depending on the temperature, making the color more red.
  • 5 (blue shift): Does a binary right shift with the color depending on the temperature, making the color more blue.
  • 6 (no effect): Allows photons to pass through without affecting them.
  • 7 (XOR): Performs a XOR with the color of the photons passing through. For example, if the photons are blue and they pass through a red filter with XOR mode, they become purple: and if the photons are purple, they'll turn blue.
  • 8 (NOT): Inverses the color of the photons passing through. Filter's color has no effect.
  • 9 (old QRTZ scattering): Mimicks legacy version of QRTZ. Photons will be reflected with a new, random color.
  • everything else (unknown mode): Acts like mode 0.

Examples

A thermometer done with using FILT.
A spectrum analyzer, which can detect the color of incoming photons.