Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Kings Dream

by flyingmoose (Priest)
on Mar 02, 2004 at 15:20 UTC ( [id://333272]=note: print w/replies, xml ) Need Help??


in reply to Re: Kings Dream
in thread Kings Dream

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)

Replies are listed 'Best First'.
Re: Re: Re: Kings Dream
by zentara (Archbishop) on Mar 02, 2004 at 15:24 UTC
    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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-16 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found