Ask Your Question

How plot revolution of a circle to generate a sphere by animation view?

asked 2019-02-03 14:47:58 +0200

Geometry gravatar image

I would like to plot a sphere $x^2+y^2+z^2=4$ by revolving a circle $x^2+y^2=4$ with respect to diameter. The whole revolution process will be shown by animation. How can I do this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-03 15:56:13 +0200

tmonteil gravatar image

For each step of the (discretized) revolution process you have to define a picture, and you will glue the pictures into an animation with the animate function. Since each picture corresponds to a range of longitudes, the easiest way to do this should be to use a representation of the sphere by it spherical coordinates, so, you can use the following:

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-02-03 14:47:58 +0200

Seen: 288 times

Last updated: Feb 03 '19