<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="open[qoob] http://qoob.xero.nu" -->
<rss version="2.0">
    <channel>
        <title>the website of xero harrison</title>
        <description>xero, xero harrison, harrison, nu, x-e.ro, whois.x-e.ro, blog.x-e.ro, code.x-e.ro, lab.x-e.ro, img.x-e.ro, etc.x-e.ro, feeds.x-e.ro, fontvir.us, fontvirus, font, fonts, git, portfolio, program, programming, code, coding, codes, codez, dev, develop, developer, qoob, open qoob, openqoob, framework, code, api, lab, laboratory, experiment, experiments, demo, netart, net art, unixporn, unix porn, unixp0rn, unixpr0n, images, photos, etc, random</description>
        <link>https://blog.x-e.ro</link>
        <lastBuildDate>Sat, 30 May 2026 14:13:38 -0400</lastBuildDate>
        <generator>open[qoob]</generator>
        <item>
            <title>abstract render tutorial</title>
            <link>https://blog.x-e.ro/3sdm_abstract_render_tutorial</link>
            <description><![CDATA[<p>this is a "long image" tutorial i did under my alias 0x000000 for igraphixz.com</p>
<p><img title="3DSM abstract render tutorial teaser" src="http://blog.x-e.ro/ui/img/blog/uploads/abstract-teaser.png" alt="3DSM abstract render tutorial teaser" width="500" height="517" /></p>]]></description>
            <author>xero harrison</author>
            <pubDate>Sat, 11 Oct 2008 02:11:00 -0400</pubDate>
        </item>
        <item>
            <title>another as3 range seeded randomizer</title>
            <link>https://blog.x-e.ro/another_as3_range_seeded_randomizer</link>
            <description><![CDATA[<p>just another take on a classic piece of code. the pseudo-random number generator. this one is <a href="http://blog.x-e.ro/actionscript3_randomizer">almost the same</a>, just a slightly diffrent algorithm.</p>
<pre class="brush: as3">private function randomizer(low:Number, high:Number):Number {
	var num:Number = high-low;
	return (Math.random()*num)+low;
}</pre>
<p>then use it...</p>
<pre class="brush: as3">var x:Number = randomizer(5, 50);</pre>
<p>i <span style="color: #cc0000;"><3</span> randomization</p>]]></description>
            <author>xero harrison</author>
            <pubDate>Thu, 10 Apr 2008 15:44:00 -0400</pubDate>
        </item>
        <item>
            <title>the lorenz attractor</title>
            <link>https://blog.x-e.ro/3d_flash_lorenz_attractor</link>
            <description><![CDATA[<p><img title="papervision3D lorenz attractor" src="http://blog.x-e.ro/ui/img/blog/uploads/lorenz.png" alt="papervision3D lorenz attractor" width="710" height="253" /></p>
<p>we were discussing recursive algorithms and chaos theory at work yesterday. when one of the chemistry professors brought up the lorenz attractor. he was trying to draw one on the white board for about 10 minutes until i decided it would be easier to draw in flash, lol!<br /> <br /> after a quick conversation w/ <a href="http://blog.zupko.info/" target="_blank">andy zupko</a> about the new Line3D object, and my new <a href="http://blog.x-e.ro/canvasview3d_new_pv3d_flex_component">CanvasView3D</a> component for papervision, i made a sweet lorenz attractor! <br /> <br /> the algorithm is super simple:</p>
<pre class="brush: plain">x1 = x0 + h * a * (y0 - x0);
y1 = y0 + h * (x0 * (b - z0) - y0);
z1 = z0 + h * (x0 * y0 - c * z0); </pre>]]></description>
            <author>xero harrison</author>
            <pubDate>Sat, 09 Feb 2008 11:52:00 -0500</pubDate>
        </item>
        <item>
            <title>asp.net random number generator</title>
            <link>https://blog.x-e.ro/asp_net_random_number_generator</link>
            <description><![CDATA[<p>here is my asp.net randomizer class based on the c R250/512 shift-register sequence random number generator, by kirkpatrick and stoll and published (j. computational physics, vol 40, pp. 517-526) with an added a pseudo-random class redefinition and buffer overflow protection.<br/><br/>example usage:
<pre class="brush: csharp">randomizer x = new randomizer();
int num = x.random();
</pre></p>]]></description>
            <author>xero harrison</author>
            <pubDate>Thu, 18 Oct 2007 17:55:00 -0400</pubDate>
        </item>
        <item>
            <title>actionscript3 randomizer</title>
            <link>https://blog.x-e.ro/actionscript3_randomizer</link>
            <description><![CDATA[<p>here a nice little one liner. this function returns a random number between a user supplied range.</p>
<pre class="brush: as3">function randomizer (low:Number, high:Number):Number {
   return Math.floor(low + (Math.random() * (high-low)));
}
</pre>
<p>example useage, will return a number between 5 - 50.</p>
<pre class="brush: as3">var x:Number = randomizer(5, 50);
</pre>]]></description>
            <author>xero harrison</author>
            <pubDate>Tue, 03 Jul 2007 19:36:00 -0400</pubDate>
        </item>
        <item>
            <title>random page perl script</title>
            <link>https://blog.x-e.ro/random_page_perl_script</link>
            <description><![CDATA[<p>place this code in a file called index.cgi, chmod it to 775, and place it in a directory of html files. this script will pick one of the files in the specified directory at random, and print it to the screen. refresh the page for a new random one.</p>
<pre class="brush: perl">#!/usr/bin/perl
print "Content-type: text/html\n\n";
 
#print "<pre>";
$basep = "/wwwroot/path2/randomdir";
 
srand(time ^ $$);
#print "got random time...\n";
 
@files = `ls $basep/*.html`;
#print "got file list...\n";
#foreach (@files) { print "-----$_\n";}
 
$file = rand(@files);
#print "got random file...$phrase\n";
 
$nupath = "$files[$file]";
#print "got new path...$nupath\n";
 
open(LOG, $nupath) or die "$!\n"; 
while () 
{
  print $_;
}
close (LOG);
#print "</pre>";

exit;</pre>]]></description>
            <author>xero harrison</author>
            <pubDate>Tue, 18 Nov 2003 16:27:00 -0500</pubDate>
        </item>
    </channel>
</rss>
