Re: Best Path Through a Vector Field [message #36834] |
Sat, 01 November 2003 18:10 |
Paul Sorenson
Messages: 48 Registered: May 2002
|
Member |
|
|
Have a look at the "thunderstorm" demo: d_vectrack.pro. When you right
click on graphics objects in that demo, a "streamline" trails out like a
kite tail, following a path dictated by wind velocity in three dimensions.
The streamlines are colored by "M", i.e. the magnitude of the vector added
U, V, W wind velocities.
You can look at the source code for d_vectrack.pro in examples/demo/demosrc
.
-Paul Sorenson
"MC" <markchan@shaw.ca> wrote in message
news:Ki%nb.219207$6C4.207461@pd7tw1no...
> Ux=2D array, x-component of a vector field, one value at each location
> Uy=2D array, y-component of a vector field, one value at each location
>
> I want to start at a point inside the field and have the "particle" follow
> the strongest field. But I want the path to radiate from this point toward
> the edge of the plot. When it is done, there is only one line on the plot,
> identifying the path of the particle influenced by the strongest field
which
> passes through the point of interest.
>
> Any pointers or suggestions appreciated.
>
> Thanks in advance,
> MC
>
>
|
|
|