How to create a vector field on a surface in 3D?

antoni.parellada shared this question 6 months ago
Answered

I have this illustration of the vector N orthogonal to a surface at a point on 3D, but I would like to show how it changes along the surface as a vector field.

I presume that I would have to make x and y a sequence of equally separated points, and calculate the vector orthogonal to each one of the points as I did for the point P, but how do I create this discretized grid in the x-y plane?

Comments (4)

photo
1

In case it helps anybody else out there... I got what I wanted by selecting "Show trace" and using sliders at predetermined spacing to comb over the meshgrid. Document attached.

photo
1

The attached file has a minor error - irrelevant to the topic, but still... Here is the corrected version...

photo
1

This is great! Thanks for sharing!

photo
2

Hi,

try :

Sequence(Sequence(Vector((i, j, S(i, j)), Translate((i, j, S(i, j)), Vector(0.3UnitVector((2i + sin(i), sin(j), 1))))), i, -0.9, 0.9, 0.15), j, -0.9, 0.9, 0.3)

...

© 2020 International GeoGebra Institute