Delila Program: pizza

pizza program

Documentation for the pizza program is below, with links to related programs in the "see also" section.

{   version = 1.30; (* of pizza.p 2006 Apr 18}

(* begin module *)
   pizza: make an electronic pizza

   pizza(pizzap: in, epizza: out, output: out)

   pizzap:  paramters to control the program
      first   line:  integer, height of pizza in characters
      second  line:  integer, width of pizza in characters
      third   line:  real,    fraction covered by sauce and by cheese
      fourth  line:  integer, number of toppings to add
      fifth   line:  real,    0 < seed < 1, random number seed
      sixth   line:  real,    lowest angle of slice
      seventh line:  real,    highest angle of slice
   epizza:  you e-pizza, thermodynamically steaming hot!
   output: messages to the user

   The program creates an electronic pizza.

   With this parameter file for pizzap:

42     height of pizza in characters
82     width of pizza in characters
0.25   fraction cover of sauce
300    number of toppings
0.3    random number seed
150    lowest angle of slice
180    highest angle of slice

we are served the epizza:



key to this electronic pizza:
 . crust
 ~ sauce
 = cheese
 * meatball
 O olive
 & anchovy (lop off the top part and you have a little fish)
 ] [ green peppers
 } { red peppers
 =) (= mushrooms
 /\ pineapple
 $ coin (heads or tails, 8 bits = 1 byte)
 R red herring (the head is on top, tail on bottom)
 @ pepperoni
 # spinach
 H ham (aka pork)
 ! little dried hot pepper seeds

Your chef, Pizza version 1.28, says:  "Have a Byte!"



see also

   Thomas Dana Schneider


technical notes

(* end module *)
{This manual page was created by makman 1.45}

{created by htmlink 1.62}