[Home]Bobacus/FaceGenerator

ec2-44-213-63-130.compute-1.amazonaws.com | ToothyWiki | Bobacus | RecentChanges | Login | Webcomic

BNF: Bobacus/FaceGenerator


bnf ::= <aa> faces </aa>

faces ::= face_row | faces <br> face_row
face ::= hair <br> fringe <br> eyes <br> nose <br> mouth <br> chin <br>

face_row ::= hair_row <br> fringe_row <br> eyes_row <br> nose_row <br> mouth_row <br> chin_row <br>
hair_row ::= hair " " hair " " hair
fringe_row ::= fringe " " fringe " " fringe
eyes_row ::= eyes " " eyes " " eyes
nose_row ::= nose " " nose " " nose
mouth_row ::= mouth " " mouth " " mouth
chin_row ::= chin " " chin " " chin

hair ::= hair1 | hair2
fringe ::= fringe1 | fringe2
eyes ::= eyes1 | eyes2 | eyes3 | eyes4
nose ::= nose1 | nose2
mouth ::= mouth1 | mouth2 | mouth3 | mouth4
chin ::= chin1 | chin2

hair1   ::= " ||||||||| "
hair2   ::= " .^v^v^v^. "
fringe1 ::= "/^^^^^^^^^\\"
fringe2 ::= "/  ' ' '  \\"
eyes1   ::= ">  CD CD  <"
eyes2   ::= "8  <> <>  8"
eyes3   ::= "#  X   X  #"
eyes4   ::= "+  o   O  +"
nose1   ::= "|    A    |"
nose2   ::= "|    V    |"
mouth1  ::= "|  <===>  |"
mouth2  ::= "|  `---`  |"
mouth3  ::= "|  \\___/  |"
mouth4  ::= "|  ~wWw~  |"
chin1   ::= " \\---_---/ "
chin2   ::= " \\---o---/ "



An experiment in BNF-generated character-based art (aka AsciiArt).


CategoryGenerator

ec2-44-213-63-130.compute-1.amazonaws.com | ToothyWiki | Bobacus | RecentChanges | Login | Webcomic
Edit this page | View other revisions | Recently used referrers
Last edited February 19, 2005 1:09 am (viewing revision 8, which is the newest) (diff)
Search: