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
7f08a9e2c761d4919e0f0e5307bdefb5d917f8bfeecd8cea84af3ddd9ccad21cd37cfe9addd22c7b
e23bcfe9f8be9fd1d59791c4651eaee9cdecc66ab798868a158525f258516e3a8d3d2486fcc358d2
5be996c00745a9d531703fe809c6731e4b98centereddf78bd04feb9c7568c233f22e347678d1c99
fd5c810622f5246e8e351378b5f2f172f6ef2cbe45b9e185dbc5cd4352eadc4f465e5669547bd8e2
eb5b66de4cd9d43b069381bf75079b3bd4df8dbebcdd041b336e6faf46516031acc70fbright    
b667eesome text7b6509e9355b9c7c32976097ad63b279e4a203f2f55e6a70b4e95c851be5a3375
d209ffsome text   is good to havea81cee228da30bea3817cfdb4f2a887fba813cb6bc91238
313f52some text is nice to readf77163169beb86467cc30d395430b8f744be161ddad4af047
142cbc0f27d48b9eeabc07a9756c1041left indented 3248b418f5fe083c1335f8235dcdaefbb7
6b0360e06f71220c55f9eb445f3e7fleft indented 30d6d229339fd82e564332b724a12946ad7f
3f99c4dead link - some dead link that doesn't work2e87667435e5b4cea953a7ec9973c7
7d324239f794c8e618f6adcb7ab7b1b7e6381d5b6e030f3dac62e499fc5861798aa4b382387b6851
151cleft indented 4775c51db37280970c7df06df77a12abfd4a26659b987bb88548872afc8eec

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