Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Kings Dream

by zentara (Archbishop)
on Mar 02, 2004 at 15:03 UTC ( [id://333265]=note: print w/replies, xml ) Need Help??


in reply to Kings Dream

This seems like it could work with PDL and give you 3D images. Check out the examples here-> PDL screenshots. They have a contest to see who can make the coolest examples.

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re: Re: Kings Dream
by flyingmoose (Priest) on Mar 02, 2004 at 15:20 UTC
    How to you propose mapping his 2D points into the 3D space? That's non-trivial...unless perhaps the equations already have a Nth-dimensional variant.

    (Though I do agree the 3D OpenGL plotter from PDL is really awesome -- it puts Maple, Matlab, etc to shame)

      Probably some sort of parametric equations, like they show in the example 1, notice it all is derived from x and y
      $size = 25; $x = (xvals zeroes $size+1,$size+1) / $size; $y = (yvals zeroes $size+1,$size+1) / $size; $z = 0.5 + 0.5 * (sin($x*6.3) * sin($y*6.3)) ** 3; # Bumps imag3d [$x,$y,$z]; # Draw a shaded surface

      I'm not really a human, but I play one on earth. flash japh
Re: Re: Kings Dream
by snowsmann (Scribe) on Mar 02, 2004 at 22:57 UTC
    interesting idea for the PDL 3D graphics stuff, ive never used PDL before, and have been wanting to learn it, this could be a good time to learn some. ill try to come up with some sort of equations, perhaps like you suggested, and i think i have another idea for the 3D-ness of the image, something having to do with the concentration of points in a single area, ill try to post some code for comment/suggestion/flame/praise in the next few days
    ~michael

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://333265]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-24 04:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found