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
03dd776c4b73d2ec0aedc1ccc756d8ce0707ee1a19af37a3793458530dfb8d10d9057d25794f1183
3dd350042929d23030c14b497082ede9b7453dc441cbd51ad1523f4aa150cdde231de34c46b57d77
77c9c1e84caed203f30fc734db9c4eacee8ecentered6e02e1514f2807cc9f7e966067e20e39e502
48ad36244985d03813c6c8f28a36f46c8843948f10330ea6947589a3ae6ea5f71bdc1b6562ec9d75
66683d9d5ca925a03eb5b172c3580638e1a9e7504fdf6c2bfad18de76f0399d66cd773bright    
1b3211some text431a53210115e0be3ecf253f08c295c649c25e6358ea682aad8941d12de72f510
28202asome text   is good to have15b739ede1d77733b8951ae7e61c6a682f02daffea0cf5f
7beac2some text is nice to read01022a271e849f3d976a2d816723819ed22dc7b338400a09f
23ecd8beab4ce2bb6f842d57cd203143left indented 32519f99d59f3a75c3274e81d39b648e0a
e8bc61b6dd93f9a19d54d7e0c8fa46left indented 3043b37f164ee3a558cb61ba813e4d7bdfeb
cfb6ccdead link - some dead link that doesn't work33ad67ae8c537e431f17f532c94125
6ac6347149872a4cef3231fc92e26bac151814c4a56743e8875adeb9231fdf8ee514ff2f9b2a7b8b
ad87left indented 45b119ad9aa107785a2b973aba7d4fbaadebe4287642d5fe3265f1cf0bfc81

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