cover

Bjørn Magnhildøen noemata at kunst.no
Mon Oct 31 22:51:29 CET 2005


cover
random walk
here's the possible space, blue
random walk through n steps looping the picture, gray white
an approximation pi*sqrt(x), red purple asymptotes
the actual space
 just poking about
why exactly pee squirt?
gray semen code
on large n
millions
does it help us predict any
drunkard walk
+-


daily activity is nothing other than harmony within
when each thing i do is without taking or rejecting
there is no contradiction anywhere
for whom is the majeesty of red and purple robes?
the summit of the inner being has never been defiled by
the dust of the world
 p'ang yün (?-811)

<?php
header ("Content-type: image/png");
$steps=1000000;
$mx=300;
$my=600;
$im = @imagecreatetruecolor($mx,$my)
    or die ("Cannot Initialize new GD image stream");
$white = imagecolorallocate ($im,255,255,255);
$col = imagecolorallocate ($im,0,0,255);
$col2 = imagecolorallocate ($im,255,0,0);
$y = (int)$my/2;
imageline($im, 0,$y,$mx,0,$col);
imageline($im, 0,$y,$mx,$my,$col);
for ($i=0;$i<=$steps;$i++) {
	if ($x++>=$mx) {$x=0;$y=(int)$my/2;}
	imagesetpixel($im,$x,$y, $white);
	if (mt_rand(0,1)) $y++;
	else $y--;
}
$y = (int)$my/2;
for ($i=0;$i<=$mx;$i++) {
	imagesetpixel($im,$i,$y-3.14*sqrt($i),$col2);
	imagesetpixel($im,$i,$y+3.14*sqrt($i),$col2);
}
imagestring($im,1,10,10,"steps: $steps",$white);
imagestring($im,1,10,20,"3.14*sqrt(x)",$white);
imagepng ($im);
imagepng ($im,"cover".rand(1,10000).".png");
?>

example http://noemata.net/horizon/
 generate h1.php





More information about the Syndicate mailing list