|
|
"Reactor" <rea### [at] hotmailcom> wrote:
> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote:
> > This image is an attempt to visualize the vector field <Z, -X, Y>.
> >
> > Tor Olav
> > http://subcube.com
>
> I remember wanting to do something similar, but I found that you cannot have
> parameters for a transformation function ;_;
>
> I would up using a macro to generate parts of the function, but making a series
> of functions that duplicate the behavior of a matrix in a symbolic fashion was
> very difficult for me. I wound up making simpler functions, which could not
> provide the ability to arbitrarily transform a function by varying amounts.
>
> Anyway, I would be curious as to how your code is, if you don't mind posting a
> sample. If your method provides a more elegant way of taking a point (x,y,z)
> and spitting out a new, transformed point(x',y',z'), I can think of many uses
> for it.
It will take some time to explain how I did this.
But I'll try to find time within a few days to explain what I've done and post
some source code.
--
Tor Olav
http://subcube.com
Post a reply to this message
|
|