0
$\begingroup$

How can I solve next problem? I have a curve and area which I need to rotate around x axis to make a sphere. Can it be like an animation? So far I made a half of sphere, and a whole sphere, bit I don't know how to animate it? enter image description here

$\endgroup$
1
$\begingroup$

I'm not entirely certain if this is a particularly useful approach to the problem hidden behind your question, but this should help while maintaining the form:

RevolutionPlot3D[Sign[x] Sqrt[4 - x^2], {x, -2, 2}, 
 BoxRatios -> {1, 1, 1}]

enter image description here

| improve this answer | |
$\endgroup$
  • $\begingroup$ Ok, sorry for less informations and no code. Somehow I got this far, bit i need to turn next thing in the sphere you made for me using some animation or parameter...here's the code: Plot[Sqrt[4 - x^2], {x, -2, 2}, Filling -> Axis, PlotRange -> {{-3, 3}, {-1, 3}}] $\endgroup$ – Danica Jan 20 '19 at 18:01
3
$\begingroup$
RevolutionPlot3D[Sqrt[4 - x^2], {x, -3, 3}, 
  RevolutionAxis -> "X", BoxRatios -> {1, 1, 1}]

plot

| improve this answer | |
$\endgroup$
  • $\begingroup$ I actually got this far by myself, but thank you. It still helps :) $\endgroup$ – Danica Jan 20 '19 at 17:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.