0xdeadbeef

dead beef is a fancy ascii rendering utility. it will place random ascii characters in between the empty spaces of a paragraph of text.

hit reload on the page to see the ascii characters change randomly. "it's magic! and you'll wow your friends" - says your mom
subatomicglue - secret projects
6a3d1bc9deee8c2d801436ce1d61ab49bd2f17aa97daf09fa07242c3454e75b08c90796a7f0697ff
1acece38307982eda89998407388df14fb21d741704df1fcde6b675d71ff5d8ccd2bc5fda547eb4e
e1838e550b6d69068f4147ff8e39fc6da463centereda23053682ef8af1947919cd5e6a84350aed3
92f6d3202fcf8dd33358e996808cc7d3f4f5cca40e1335abe91b532d6c0200fef8d31f28a3adfcd6
e66d85733459672a250c393941e4235d3850c93a50c83324e75cc794589d9a3e0b20b10right    
a3d967some text28ffc9d572fc13f8c88d4e4266e23318fd57109efdba8157f827d087e42c9cbd2
692af5some text   is good to havec5058ed65d770e3dfef26a9baf86e2322644e8ce601c94c
76d7e5some text is nice to readdf71bfeef8a2212ee709ed47167214cdef93190319387b94d
6ba7dfc0785104706c025ff62471e595left indented 3285e605196dbf66d9674699e0989d5004
a0affbc421e059319a60a976b4ff4aleft indented 3077ffc6579864a79d045798c9787923aa14
84538adead link - some dead link that doesn't workb27ec4d628d95a7c6392cf39040860
c79497444e46c1ce4cd6b3fb889c00d34e7f9724a8707f24d411f40e15fc6edd910622df4ce4ae99
6194left indented 4bbd1ff0e1f402d50218d271f663771843c3fcf15db753f1fa5186119e9bc0

example code

you can see below, we support a html-a-like markup, mainly l, c, r tags are the new ones
// php code
include( "deadbeef.php" );
 
$deadbeef_linkcolor = "#0090ff";
$deadbeef_alinkcolor = "#0090ff";
$deadbeef_vlinkcolor = "#0090ff";
$deadbeef_textcolor = "#ffffff";
$deadbeef_bgcolor = "#010101";
$deadbeef_tonemap = array( array(60,20,0), array(100,100,0),
array(150,0,150), array(20, 60, 60 ) );
$deadbeef_title = "subatomicglue - secret projects";
 
echo "<table><tr><td>"; 
$page_text = " 

<c><b>centered</b></c> 

<r>right    </r> 
some text 
some text   is good to have
some text is nice to read 
<l pos=32>left indented 32</l>
<l pos=30>left indented 30</l>
<a href="dead link">dead link</a> - some dead link that doesn't work

<l pos=4>left indented 4</l>

"; 
deadbeefDrawPage( $page_text, 6, 80, 13 );

Download

License

   deadbeef - fancypants webpage renderer
   Copyright (c) 2006 kevin meinert all rights reserved

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with this library; if not, write to the Free Software
   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
   02110-1301  USA