POV-Ray : Newsgroups : povray.binaries.images : Tube maze (~80KBU) Server Time
3 Oct 2024 07:09:09 EDT (-0400)
  Tube maze (~80KBU) (Message 11 to 15 of 15)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Josh English
Subject: Re: Tube maze (~80KBU)
Date: 28 Feb 2000 13:04:01
Message: <38BAB911.58974399@spiritone.com>
This reminds me of some drawing I did a long long time ago that I drew using just
one line on the page.
Some of the torii look like they have different radii from the attached cylindii
(err, cylinders, sorry about that). Is this an accurate observation or just an
optical illusion brought on from too many donuts and too much blood in my caffeine
system?

Josh

Nieminen Juha wrote:

>   Since mazes are so popular nowadays, this is one made of tubes. An old
> idea in a bit different form:
>
>  [Image]
>
>   The source code is rather simple:
>
> #declare R=.08;
> #declare Tubes=
>   union
>   { torus { .25,R }
>     torus { .25,R translate x }
>     torus { .25,R translate z }
>     torus { .5,R translate z }
>     torus { .125,R translate <1,0,.625> }
>     cylinder { <.5,0,0><.5,0,.5>,R }
>     cylinder { <.75,0,1><.75,0,.75>,R }
>     torus
>     { .125,R clipped_by { box { <-.225,-R-.001,0><0,R+.001,.225> } }
>       translate <.625,0,.5> }
>     torus
>     { .125,R clipped_by { box { <0,-R-.001,-.225><.225,R+.001,0> } }
>       translate <.625,0,.75> }
>     clipped_by { box { <0,-R-.001,0><1,R+.001,1> } } bounded_by { clipped_by }
>   }
>
> union
> { #declare R=seed(0);
>   #declare indz=-2;
>   #while(indz<14)
>     #declare indx=-2;
>     #while(indx<12)
>       object
>       { Tubes translate <-.5,0,-.5> rotate y*90*int(rand(R)*4)
>         translate <indx,0,indz> }
>       #declare indx=indx+1;
>     #end
>     #declare indz=indz+1;
>   #end
>   pigment { rgb x+y/2 } finish { specular .5 }
> }
>
> camera { location <-2,1.5,-3> look_at 0 angle 45 }
> light_source { <20,25,-10> 1 }
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/

--
Josh English
eng### [at] spiritonecom
"May your hopes, dreams, and plans not be destroyed by a few zeros."


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: Tube maze (~80KBU)
Date: 29 Feb 2000 03:38:54
Message: <38bb859e$1@news.povray.org>
arrrhggghhh - you can tell when things have gone to far when ppl are re
creating windows screensavers..

Rick

"Nieminen Juha" <war### [at] sarakerttunencstutfi> wrote in message
news:38b93a68@news.povray.org...
>   Since mazes are so popular nowadays, this is one made of tubes. An old
> idea in a bit different form:
>
>


----------------------------------------------------------------------------
----


>
>
>   The source code is rather simple:
>
> #declare R=.08;
> #declare Tubes=
>   union
>   { torus { .25,R }
>     torus { .25,R translate x }
>     torus { .25,R translate z }
>     torus { .5,R translate z }
>     torus { .125,R translate <1,0,.625> }
>     cylinder { <.5,0,0><.5,0,.5>,R }
>     cylinder { <.75,0,1><.75,0,.75>,R }
>     torus
>     { .125,R clipped_by { box { <-.225,-R-.001,0><0,R+.001,.225> } }
>       translate <.625,0,.5> }
>     torus
>     { .125,R clipped_by { box { <0,-R-.001,-.225><.225,R+.001,0> } }
>       translate <.625,0,.75> }
>     clipped_by { box { <0,-R-.001,0><1,R+.001,1> } } bounded_by
 clipped_by }
>   }
>
> union
> { #declare R=seed(0);
>   #declare indz=-2;
>   #while(indz<14)
>     #declare indx=-2;
>     #while(indx<12)
>       object
>       { Tubes translate <-.5,0,-.5> rotate y*90*int(rand(R)*4)
>         translate <indx,0,indz> }
>       #declare indx=indx+1;
>     #end
>     #declare indz=indz+1;
>   #end
>   pigment { rgb x+y/2 } finish { specular .5 }
> }
>
> camera { location <-2,1.5,-3> look_at 0 angle 45 }
> light_source { <20,25,-10> 1 }
>
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Tube maze (~80KBU)
Date: 29 Feb 2000 08:32:21
Message: <38bbca64@news.povray.org>
Peter Warren <int### [at] halcyoncom> wrote:
: You should try to do something completely different, Nieminen.

  What do you mean?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Nieminen Juha
Subject: Re: Tube maze (~80KBU)
Date: 29 Feb 2000 08:34:02
Message: <38bbcaca@news.povray.org>
Josh English <eng### [at] spiritonecom> wrote:
: Some of the torii look like they have different radii from the attached cylindii
: (err, cylinders, sorry about that). Is this an accurate observation or just an
: optical illusion brought on from too many donuts and too much blood in my caffeine
: system?

  If you look at the source code you will see that all objects have the
same radius.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: Tube maze (~80KBU)
Date: 29 Feb 2000 08:38:25
Message: <38BBCB60.7462167E@pacbell.net>
Nieminen Juha wrote:
> 
> Peter Warren <int### [at] halcyoncom> wrote:
> : You should try to do something completely different, Nieminen.
> 
>   What do you mean?

That was a mild form of sarcastic humor.

-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.