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
e9e848ebcb8bf39333bff4df215627e2c8ccfd1f441c1998949f14a2c60a96aff3de9abe698d529d
4d467c6f9da35165704e84b46b9e4dff3e62a2046c38b460174e1e80dc711e2ab89a99553eeabbae
394063a4deb0a41d1247227f80d6df9724fecentered2c28d1c57e0fb03abee97a218e59d23276e5
7a9865fa6e45919344a995b5e0c1deb1865cc137967f2011a1af6a74e2e1595c79bf56e805e87b49
11fe72d2dc235939e490d064b1e105604c79422dd39ea692f48f97dc0be16e1ce0e1ee9right    
c74e89some textd2b22a0cac933bf58cb9c64ad0a808dec6e4bf1b642da8e0a2917b37c01a84a2d
ebf795some text   is good to havecf7b31586bd3e9e70bb9f1906cce5f1c47a0f7a68f9cdba
2b8db6some text is nice to read98b22c55807b61c82c697eac064a5518f330804022fb3c90a
7816a27c02ab3c8dcd01e5d5b801577fleft indented 3299911dc945e6d3befd763aff21768cee
7872c331741bb00d5df00a45819760left indented 30622e67624fdeef3e57610288d51d39e27a
29edbfdead link - some dead link that doesn't work6fee42a8d1bcd2be7b7d439c45f23a
f10f3e5659a5ea0b6ecf9a26f1813f16f12e5899ff146bbe90e9022c2ef4672004a5775d4b6168b9
03dfleft indented 434da67c0c37660e639402cbb407702c64bc8dcd75bfd155e156741acdc1ac

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