Element:FILT

From The Powder Toy
Revision as of 10:49, 6 October 2014 by jacksonmj (talk | contribs) (Update infobox)
Jump to: navigation, search
FILT.png Filter
Properties
Section Solids
Spawn temperature 22°C
Heat Conductivity 100%
Relative weight 100
Gravity 0
Acid dissolve rate 0.1%
Flammability 0
State Solid
Misc properties
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 6. But don't set it to this, otherwise your save might break if new modes are added in the future. Use mode 6 instead.

Examples

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