Laser Language - Pre-defined Variables


yaw is bound to the symbol yaw

roll is bound to the symbol roll

pitch is bound to the symbol pitch

names of primitive procedures are bound to those primitive procedures

n_oil is bound to 1.48, the index of refraction of oil

n_water is bound to 1.33, the index of refraction of water

n_air is bound to 1.0, the index of refraction of air

n_glass is bound to 1.55, the index of refraction of glass

n_quartz is bound to 1.46, the index of refraction of quartz

n_alcohol is bound to 1.36, the index of refraction of ethyl alcohol

nil is bound to the empty list

null is bound to the empty list

true is bound to #t

false is bound to #f

else is bound to #t

first is bound to the procedure that returns the car of a list

second is bound to the procedure that returns the cadr of a list

third is bound to the procedure that returns the caddr of a list

rest is bound to the procedure that returns the cdr of a pair

: is bound to coord

red is bound to the color(: .99 .17 .06)

orange is bound to the color(: 1.0 .50 0.0)

yellow is bound to the color(: .97 .80 0.0)

green is bound to the color(: .14 .80 0.0)

cyan is bound to the color(: .09 .85 .82)

turquoise is bound to the color(: .14 .90 .87)

blue is bound to the color(: .15 .11 .87)

purple is bound to the color(: .61 0.0 1.0)

magenta is bound to the color(: .79 .20 .44)

white is bound to the color(: 1.0 1.0 1.0)

grey is bound to the color(: .50 .50 .50)


© 1996, Morgan McGuire ([email protected]) and Laura Wollstadt ([email protected]).
All rights reserved

LBW 12/06/96