By downloading this code you agree to the
Source Code Use License (PDF). |
{ version = 1.30; (* of pizza.p 2006 Apr 18}
(* begin module describe.pizza *)
(*
name
pizza: make an electronic pizza
synopsis
pizza(pizzap: in, epizza: out, output: out)
files
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
description
The program creates an electronic pizza.
examples
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:
***********************************************************
..
.....
.......=]
.....==[~==.
.....======..=
....===O=~~=....~
....=.===={#==~====.
.....=[.==)=======.====
.....==.(]====~===.==(===
....====)==.#..=[=~&==(=.=.
.....~.=.=======.&#======.=.==
....=====~@=.=$========~O===R==~
....~=====]==.~====.===!====.====
....===.H=.=.==.~.=..H=~===~==H=~~=
....$=.=[.====~===~RO=H==.~=====~===.
.....=={=={==.=.========.]=.~.=$.===~.
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!"
***********************************************************
documentation
see also
author
Thomas Dana Schneider
bugs
YUCK!
technical notes
*)
(* end module describe.pizza *)
{This manual page was created by makman 1.45}
{created by htmlink 1.62}