Mathematica: Animated plot sphere as function of time

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 6K views
hasidim
Messages
15
Reaction score
0
Hi all,

Kinda new to Mathematica.

I have evaluated a function describing a sphere's (or just circle for simplicity) radius over time. I have made a Table of values for the radius over a given time interval, and am able to plot the radius vs time.

How can I make an animated 3D plot of the sphere as it oscillates over time?

Thanks in advance!
 
on Phys.org
Here's an example with a circle:
Code:
Animate[Graphics[Circle[{0, 0}, Sin[t]^2], 
  PlotRange -> {{-2, 2}, {-2, 2}}], {t, 0, 4 \[Pi]}]