Difference between revisions of "Element:ARAY"

From The Powder Toy
Jump to: navigation, search
m (remove unnecessary comment about past versions)
(Removed the "Creation" topic because it was completely false and unnecessary. Added more information about its interactions with SWCH. Replaced more false information like "brown BRAY will be shot out twice")
Line 38: Line 38:
 
}}
 
}}
  
==Creation==
 
Only created by using the brush or using the console.
 
  
 
== Reactions ==
 
== Reactions ==
Line 46: Line 44:
 
The temperature of the BRAY is the same as the temperature of the ARAY that created it.  
 
The temperature of the BRAY is the same as the temperature of the ARAY that created it.  
  
The {{Material|mat=BRAY}} can also have different properties depending on what was used to spark it. If {{Material|mat=ARAY}} is sparked with {{Material|mat=PSCN}} instead of any other conductor, the BRAY only stays for a couple of frames, removes other types of {{Material|mat=BRAY}}, looks orange and has tmp of 2. If {{Material|mat=ARAY}} is sparked with {{Material|mat=INST}} the resulting beam will go through most conductive materials, (and {{Material|mat=FILT}}) {{Material|mat=SPRK}}'ing them in its way. Note, that the beam can not pass through the first pixel in front of the {{Material|mat=ARAY}}, except if it is {{Material|mat=FILT}}.
+
The {{Material| BRAY}} can also have different properties depending on what was used to spark it. If {{Material| ARAY}} is sparked with {{Material| PSCN}} instead of any other conductor, the BRAY only stays for a couple of frames, removes other types of {{Material| BRAY}}, looks orange and has tmp of 2. If {{Material| ARAY}} is sparked with {{Material| INST}} the resulting beam will go through most conductive materials {{Material| SPRK}}'ing them all the way. Note, that the beam of {{Material| BRAY}} will not be created if a non-transparent particle is directly in front of it (Including metals for {{Material| INST}}). By transparent I mean any particle that {{Material| BRAY}} can pass through. Those materials are covered below.
 
 
{{Material|mat=ARAY}} is also one of the elements that {{Material|mat=BRAY}} can pass through.
 
  
 
== Detailed usage ==
 
== Detailed usage ==
Line 58: Line 54:
  
 
===  BRAY  ===
 
===  BRAY  ===
BRAY is an element that doesn't show in the menu, it is created from SPRK'ed ARAY. It can be recolored passing through [https://powdertoy.co.uk/Wiki.html?id=elements:solids#filter_filt| FILT].
+
{{Material| BRAY}} is an element that doesn't show in the menu, it is created from SPRK'ed ARAY. Its color is determined by the ratio between the colors on the 30 bit color spectrum. It can hold a 30 bit number and, by default (unless it was created by {{Material| PSCN}}), all 30 bits are set giving it its white appearance. You can use {{Material| FILT}} to set that value to something different or preform a bitwise operation on it.
  
The BRAY element rapidly fades after its creation with a life of 30 frames. One way to make it "drawable" is click on it with the left mouse button while holding the Alt button or by clicking on it with the computer mouse scroll. Unlike neutrons and photons, BRAY passes through all wall elements. It will go off the edge of the screen unless it hits any other particle. If BRAY hits a conductor, such as METL, then the element gets SPRK'ed. BRAY also goes through ARAY, possibly hitting anything directly behind it, SPRK'ing the ARAY. Another feature of BRAY is its conductivity of temperature, anything touching a BRAY will either heat it or be heated by it.
+
The BRAY element rapidly fades after its creation with a life of 30 frames. One way to make it "drawable" is using the particle picker in the "Tools" section. The default way to use the part picker is by pressing down with your scroll wheel or by clicking on it with the left mouse button while holding the Alt button. Unlike neutrons and photons, BRAY passes through all wall elements. It will go off the edge of the screen unless it hits a non-transparent particle. If BRAY hits a conductor, such as METL, then the element gets SPRK'ed. BRAY can also go through ARAY which is useful if you want to spark a PSCN with ARAY pointing right back at it.
  
It also can pass through SWCH which is turned on.
+
If two lines of BRAY collide, they create a 'solid' BRAY at the point which will fade slowly with a life of 1020 frames. Of the colliding BRAY's, one, shot even a frame after the other, will stop at the point will stop at the solid BRAY upon creation. The second emission, however, will proceed through normally. A solid BRAY duplication will only yield a normal BRAY. If more than one ARAY is in front of the conducting particle, several consecutive sparks will make both a normal BRAY and a 'loading' solid BRAY that continues with each re-emission in that direction.  
  
If two lines of BRAY collide, they create a 'solid' BRAY at the point which will fade slowly with a life of 1020 frames. Of the colliding BRAY's, one, shot even a frame after the other, will stop at the point will stop at the solid BRAY upon creation. The second emission, however, will proceed through normally. A solid BRAY duplication will only yield a normal BRAY. If more than one ARAY is in front of the conducting particle, several consecutive sparks will make both a normal BRAY and a 'loading' solid BRAY that continues with each re-emission in that direction.  
+
PSCN sparking ARAY will create a brown BRAY. This type has a life of 2 which turns to 1 if two BRAY end up in the same space. Brown BRAY is similar to a white BRAY, but is shot twice and doesn't SPRK conductors. Instead, brown BRAY cools down elements that are hit, especially effective when used in a line. It also erases any live white BRAY's, does not create a 'solid' version when colliding with itself, and does not become recolored when passing through FILT.
  
PSCN sparking ARAY will create a brown BRAY. This type has a life of 1 or 2, depending on where the location of PSCN is. Brown BRAY is similar to a white BRAY, but is shot twice and doesn't SPRK conductors. Instead, brown BRAY cools down elements that are hit, especially effective when used in a line. It also erases any live white BRAY's, does not create a 'solid' version when colliding with itself, and does not become recolored when passing through FILT.
+
==== Interaction with SWCH ====
  
===  Usage  ===
+
Bray can pass through {{Material| SWCH}} which is turned on. This means that you can potentially read whether or not a SWCH is on without getting close to it. If SWCH is off it can be turned on with two BRAY that are directly adjacent to it (shares an edge with it), and have a tmp of 2 (created with ARAY SPRK'ed by PSCN). The same goes for if SWCH is on. The two bray must also be next to each other meaning one bray traveling from the left and one bray traveling from the right would not change it. An example of a binary incrementor using this feature is below.
ARAY must be touching a conductor or SWCH to emit a BRAY. BRAY can either hit a conductor and start a SPRK, or hit anything else or the edge harmlessly.
 
  
BRAY can conduct temperature between two elements separated by a square.
 
  
 
== Uses ==
 
== Uses ==
Line 84: Line 78:
 
| This save shows using it for displaying pictures.
 
| This save shows using it for displaying pictures.
 
| {{ save | id=898358 }}
 
| {{ save | id=898358 }}
 +
|-
 +
| This save shows it being used for a binary counter.
 +
| {{ save | id=2637827}}
 +
|-
 +
| This computer uses ARAY for all of its function.
 +
| {{ save | id=427363}}
 
|}
 
|}
  
 
{{Languages}}
 
{{Languages}}

Revision as of 02:34, 3 January 2021

ARAY.png A-Type Ray Emitter
ARAYsticker.gif
Ray Emitter. Rays create points when they collide.
Properties
Section Electronics
Spawn temperature 22°C
Heat Conductivity 0%
Relative weight 100
Gravity 0
Acid dissolve rate 0.1%
Flammability 0
State Solid
Misc properties
Source code


Reactions

Can receive a SPRK from all of the electric conductors, even SWCH. It creates a line of the element BRAY in the direction opposite to the side it was sparked from. Unlike other electronics, ARAY must receive a SPRK from a pixel in direct contact with it.

The temperature of the BRAY is the same as the temperature of the ARAY that created it.

The BRAY can also have different properties depending on what was used to spark it. If ARAY is sparked with PSCN instead of any other conductor, the BRAY only stays for a couple of frames, removes other types of BRAY, looks orange and has tmp of 2. If ARAY is sparked with INST the resulting beam will go through most conductive materials SPRK'ing them all the way. Note, that the beam of BRAY will not be created if a non-transparent particle is directly in front of it (Including metals for INST). By transparent I mean any particle that BRAY can pass through. Those materials are covered below.

Detailed usage

ARAY is an indestructible element in the Electronics group, it can receive a SPRK from all of the electric conductors and SWCH. It creates a line of the element BRAY in the direction corresponding to that which it was sparked from (e.g if the spark hit the bottom-most edge of the ARAY, the BRAY would emanate from the upper-most edge).

To send SPRK to ARAY, the conductor must touch the ARAY particle, unlike between other conductors where the spark can jump over a space of 1 pixel.

BRAY

BRAY is an element that doesn't show in the menu, it is created from SPRK'ed ARAY. Its color is determined by the ratio between the colors on the 30 bit color spectrum. It can hold a 30 bit number and, by default (unless it was created by PSCN), all 30 bits are set giving it its white appearance. You can use FILT to set that value to something different or preform a bitwise operation on it.

The BRAY element rapidly fades after its creation with a life of 30 frames. One way to make it "drawable" is using the particle picker in the "Tools" section. The default way to use the part picker is by pressing down with your scroll wheel or by clicking on it with the left mouse button while holding the Alt button. Unlike neutrons and photons, BRAY passes through all wall elements. It will go off the edge of the screen unless it hits a non-transparent particle. If BRAY hits a conductor, such as METL, then the element gets SPRK'ed. BRAY can also go through ARAY which is useful if you want to spark a PSCN with ARAY pointing right back at it.

If two lines of BRAY collide, they create a 'solid' BRAY at the point which will fade slowly with a life of 1020 frames. Of the colliding BRAY's, one, shot even a frame after the other, will stop at the point will stop at the solid BRAY upon creation. The second emission, however, will proceed through normally. A solid BRAY duplication will only yield a normal BRAY. If more than one ARAY is in front of the conducting particle, several consecutive sparks will make both a normal BRAY and a 'loading' solid BRAY that continues with each re-emission in that direction.

PSCN sparking ARAY will create a brown BRAY. This type has a life of 2 which turns to 1 if two BRAY end up in the same space. Brown BRAY is similar to a white BRAY, but is shot twice and doesn't SPRK conductors. Instead, brown BRAY cools down elements that are hit, especially effective when used in a line. It also erases any live white BRAY's, does not create a 'solid' version when colliding with itself, and does not become recolored when passing through FILT.

Interaction with SWCH

Bray can pass through SWCH which is turned on. This means that you can potentially read whether or not a SWCH is on without getting close to it. If SWCH is off it can be turned on with two BRAY that are directly adjacent to it (shares an edge with it), and have a tmp of 2 (created with ARAY SPRK'ed by PSCN). The same goes for if SWCH is on. The two bray must also be next to each other meaning one bray traveling from the left and one bray traveling from the right would not change it. An example of a binary incrementor using this feature is below.


Uses

Good for many electronics, circuits and similar devices. Can be used for memory, calculations, animations, picture drawing, etc.

Examples

This save shows how to use it for typing.
This save shows using it for displaying pictures.
This save shows it being used for a binary counter.
This computer uses ARAY for all of its function.
Language: [[::Element:ARAY|English]]