Difference between revisions of "Element:PHOT"

From The Powder Toy
Jump to: navigation, search
(Started image fix)
(Fixed images)
Line 14: Line 14:
 
Rainbows are possible now. Notice that the bar of metal on the screen, Breakable Metal, only reflects 50% of the photons that touch it now, while the other half pass through.  
 
Rainbows are possible now. Notice that the bar of metal on the screen, Breakable Metal, only reflects 50% of the photons that touch it now, while the other half pass through.  
  
[[File:http://imgur.com/GNi25.png]]
+
[[File:GNi25.png]]
  
 
Photons now calculate the angle of surfaces they touch, and use that information to determine their new angle, meaning that a photon can change direction while touching a surface depending on pixels that are actually somewhat far away, though the exact distance I can't remember. The pixels it takes this from must at least all touch one another, with some exception (like the diagonals displayed here.) Photons don't check for empty space while calculating angle, so if the pixels wouldn't be found in a flood fill they likely won't affect the end result. Play around with it, you'll see what I mean.  
 
Photons now calculate the angle of surfaces they touch, and use that information to determine their new angle, meaning that a photon can change direction while touching a surface depending on pixels that are actually somewhat far away, though the exact distance I can't remember. The pixels it takes this from must at least all touch one another, with some exception (like the diagonals displayed here.) Photons don't check for empty space while calculating angle, so if the pixels wouldn't be found in a flood fill they likely won't affect the end result. Play around with it, you'll see what I mean.  
  
  
[[File:http://img638.imageshack.us/img638/8391/photondelay.png]]
+
[[File:Photondelay.png]]
  
 
Because photons move more slowly through substances that are transparent to them, you can use elements like liquid crystal to change the position of traveling photons to better suit your needs.
 
Because photons move more slowly through substances that are transparent to them, you can use elements like liquid crystal to change the position of traveling photons to better suit your needs.
Line 25: Line 25:
 
'''2. Angle and Reflection'''
 
'''2. Angle and Reflection'''
  
[[File:http://img38.imageshack.us/img38/8752/rainbow2c.png]]
+
[[File:Rainbow2c.png]]
  
 
Because of the way refraction works, if you push photons through an angle of glass or solid that is the exact opposite of the previous angle touched, the photons will be moved in the exact direction they started in.
 
Because of the way refraction works, if you push photons through an angle of glass or solid that is the exact opposite of the previous angle touched, the photons will be moved in the exact direction they started in.
  
[[File:http://img521.imageshack.us/img521/9453/reflection2.png]]
+
[[File:Reflection2.png]]
  
 
There's nothing to stop you from bending photons in any number of ways you like.
 
There's nothing to stop you from bending photons in any number of ways you like.
  
[[File:http://img263.imageshack.us/img263/3499/reflectionm.png]]
+
[[File:Reflectionm.png]]
  
 
When photons touch an object that has a specific color (besides certain metals), the wavelengths of light that the object does not reflect will no longer appear in the photon that touches it. IE, photons touching plant turn green, touching lava turn red. But if an only-green photon touches lava, it's likely to disappear.
 
When photons touch an object that has a specific color (besides certain metals), the wavelengths of light that the object does not reflect will no longer appear in the photon that touches it. IE, photons touching plant turn green, touching lava turn red. But if an only-green photon touches lava, it's likely to disappear.
  
[[File:http://imgur.com/7MfIT.png]]
+
[[File:7MfIT.png]]
  
 
As a result, you can actually make just about any color you want if you know the right combination of element bounces will produce the color you need. Take Cracker's tiny rainbow gun for example.
 
As a result, you can actually make just about any color you want if you know the right combination of element bounces will produce the color you need. Take Cracker's tiny rainbow gun for example.
  
[[File:http://img143.imageshack.us/img143/4660/crackerm.png]]
+
[[File:Crackerm.png]]
  
 
'''3. Other tricks'''
 
'''3. Other tricks'''
  
[[File:http://img80.imageshack.us/img80/6264/tir1.png]]
+
[[File:Tir1.png]]
  
 
This is called Total Internal Reflection, when light passes through something and bounces off of its inside. It's easy to do in powder toy now, but the tricky part is finding the correct angle to make it happen with. Light particles will generally get stuck TIR'ing inside of glass if random particles are dropped nearby, even though most of the light will tend to escape.  
 
This is called Total Internal Reflection, when light passes through something and bounces off of its inside. It's easy to do in powder toy now, but the tricky part is finding the correct angle to make it happen with. Light particles will generally get stuck TIR'ing inside of glass if random particles are dropped nearby, even though most of the light will tend to escape.  
  
[[File:http://img194.imageshack.us/img194/8762/glowaccum1.png]]
+
[[File:Glowaccum1.png]]
  
[[File:http://img40.imageshack.us/img40/4707/glowaccum2.png]]
+
[[File:Glowaccum2.png]]
  
 
Glow particles now have a use besides looking pretty. They augment photons when they pass through them after a preset amount of time (about one second.) The newly created photons will appear to have a preset color, which depends on the exact temperature of the Glow.  ... It doesn't change the color of already-existing photons, however. It only adds colors to the photons it creates.
 
Glow particles now have a use besides looking pretty. They augment photons when they pass through them after a preset amount of time (about one second.) The newly created photons will appear to have a preset color, which depends on the exact temperature of the Glow.  ... It doesn't change the color of already-existing photons, however. It only adds colors to the photons it creates.
Line 57: Line 57:
 
When Photons travel through glow, glow particles use Life to determine how much longer until they can augment the photons again.
 
When Photons travel through glow, glow particles use Life to determine how much longer until they can augment the photons again.
  
[[File:http://img51.imageshack.us/img51/2231/glowcannon.png]]
+
[[File:Glowcannon.png]]
  
 
Combining Broken Metal, Insulation and very specific temperatures of glow can have interesting effects.
 
Combining Broken Metal, Insulation and very specific temperatures of glow can have interesting effects.
  
[[File:http://img833.imageshack.us/img833/980/neutron.png]]
+
[[File:Neutron.png]]
  
 
Neutrons, while not photons, are technically related now. Neutrons travelling through glass have a small chance of turning into/generating photons, which isn't immediately obvious due to how blue photons and blue neutrons now look effectively identical.
 
Neutrons, while not photons, are technically related now. Neutrons travelling through glass have a small chance of turning into/generating photons, which isn't immediately obvious due to how blue photons and blue neutrons now look effectively identical.
Line 67: Line 67:
 
As an example in the above picture, there's a small chamber that contains glass on the left (which permits photons as well as neutrons) and activated liquid crystal on the right (which permits photons but reflects neutrons.)
 
As an example in the above picture, there's a small chamber that contains glass on the left (which permits photons as well as neutrons) and activated liquid crystal on the right (which permits photons but reflects neutrons.)
  
[[File:http://img193.imageshack.us/img193/3853/neutron2.png]]
+
[[File:Neutron2.png]]
  
 
So, by pouring neutrons into one end, photons come out the other end. This effect is called Cherenkov radiation.  
 
So, by pouring neutrons into one end, photons come out the other end. This effect is called Cherenkov radiation.  
  
[[File:http://img155.imageshack.us/img155/9922/photoelectric.png]]
+
[[File:Photoelectric.png]]
  
 
And finally, photo electricity. When light particles touch PSCN which is touching NSCN in a certain combination, spark results.
 
And finally, photo electricity. When light particles touch PSCN which is touching NSCN in a certain combination, spark results.
 
This means fancy tricks aren't needed anymore to produce sparks from photons.
 
This means fancy tricks aren't needed anymore to produce sparks from photons.
  
[[File:http://img684.imageshack.us/img684/4200/51401347.png]]
+
[[File:51401347.png]]
  
 
This new element, Filter, changes the colors of incoming photons -unconditionally- depending on its temperature. The image here shows three different colors and the resulting photon colors.
 
This new element, Filter, changes the colors of incoming photons -unconditionally- depending on its temperature. The image here shows three different colors and the resulting photon colors.

Revision as of 00:07, 12 October 2011

First of all, as I'm sure most people know from the older versions, photons were limited to only eight directions, up down left and right, and diagonal. They only had one color, white, and could transfer heat between themselves while travelling, going several spaces per frame and giving them the ability to travel through thin substances.

A lot has happened to them now that makes them almost totally different, and a whole lot better.

1. Refraction and Transparency

Transparency.png

Originally photons could pass through liquid crystal, clone (the bottom sphere), and glass. That's still the same, but as the screenshot displays, glass now changes the direction of incoming and outgoing photons and randomly assigns them a different color and speed. Colors on different parts of the spectrum are reflected at different speeds/angles, and so..


Rainbow1.png

Rainbows are possible now. Notice that the bar of metal on the screen, Breakable Metal, only reflects 50% of the photons that touch it now, while the other half pass through.

GNi25.png

Photons now calculate the angle of surfaces they touch, and use that information to determine their new angle, meaning that a photon can change direction while touching a surface depending on pixels that are actually somewhat far away, though the exact distance I can't remember. The pixels it takes this from must at least all touch one another, with some exception (like the diagonals displayed here.) Photons don't check for empty space while calculating angle, so if the pixels wouldn't be found in a flood fill they likely won't affect the end result. Play around with it, you'll see what I mean.


Photondelay.png

Because photons move more slowly through substances that are transparent to them, you can use elements like liquid crystal to change the position of traveling photons to better suit your needs.

2. Angle and Reflection

Rainbow2c.png

Because of the way refraction works, if you push photons through an angle of glass or solid that is the exact opposite of the previous angle touched, the photons will be moved in the exact direction they started in.

Reflection2.png

There's nothing to stop you from bending photons in any number of ways you like.

Reflectionm.png

When photons touch an object that has a specific color (besides certain metals), the wavelengths of light that the object does not reflect will no longer appear in the photon that touches it. IE, photons touching plant turn green, touching lava turn red. But if an only-green photon touches lava, it's likely to disappear.

7MfIT.png

As a result, you can actually make just about any color you want if you know the right combination of element bounces will produce the color you need. Take Cracker's tiny rainbow gun for example.

Crackerm.png

3. Other tricks

Tir1.png

This is called Total Internal Reflection, when light passes through something and bounces off of its inside. It's easy to do in powder toy now, but the tricky part is finding the correct angle to make it happen with. Light particles will generally get stuck TIR'ing inside of glass if random particles are dropped nearby, even though most of the light will tend to escape.

Glowaccum1.png

Glowaccum2.png

Glow particles now have a use besides looking pretty. They augment photons when they pass through them after a preset amount of time (about one second.) The newly created photons will appear to have a preset color, which depends on the exact temperature of the Glow. ... It doesn't change the color of already-existing photons, however. It only adds colors to the photons it creates.

When Photons travel through glow, glow particles use Life to determine how much longer until they can augment the photons again.

Glowcannon.png

Combining Broken Metal, Insulation and very specific temperatures of glow can have interesting effects.

Neutron.png

Neutrons, while not photons, are technically related now. Neutrons travelling through glass have a small chance of turning into/generating photons, which isn't immediately obvious due to how blue photons and blue neutrons now look effectively identical.

As an example in the above picture, there's a small chamber that contains glass on the left (which permits photons as well as neutrons) and activated liquid crystal on the right (which permits photons but reflects neutrons.)

Neutron2.png

So, by pouring neutrons into one end, photons come out the other end. This effect is called Cherenkov radiation.

Photoelectric.png

And finally, photo electricity. When light particles touch PSCN which is touching NSCN in a certain combination, spark results. This means fancy tricks aren't needed anymore to produce sparks from photons.

51401347.png

This new element, Filter, changes the colors of incoming photons -unconditionally- depending on its temperature. The image here shows three different colors and the resulting photon colors.