Mathematica: Animated plot sphere as function of time

Click For Summary
SUMMARY

The discussion focuses on creating an animated 3D plot of a sphere in Mathematica, specifically using the function that describes the sphere's radius over time. The user successfully generated a table of radius values and plotted them against time. They provided an example using a circle with the Animate function, demonstrating the oscillation of the radius. The goal is to extend this concept to a 3D sphere animation.

PREREQUISITES
  • Familiarity with Mathematica programming language
  • Understanding of 3D graphics in Mathematica
  • Knowledge of trigonometric functions, specifically Sin[t]
  • Basic concepts of animation in Mathematica using the Animate function
NEXT STEPS
  • Explore Mathematica's Graphics3D for creating 3D objects
  • Learn about the Manipulate function for interactive animations in Mathematica
  • Research how to implement dynamic updates in 3D plots
  • Investigate the use of ParametricPlot3D for more complex shapes
USEFUL FOR

This discussion is beneficial for Mathematica users, educators in computational mathematics, and anyone interested in visualizing mathematical functions through animation.

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!
 
Physics news 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]}]
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 18 ·
Replies
18
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K