Mathematica Animating in Mathematica: Creating a Bouncing Point in a Box Tutorial

  • Thread starter Thread starter rbnphlp
  • Start date Start date
  • Tags Tags
    Mathematica
rbnphlp
Messages
53
Reaction score
0
Does anyone know how would I go about making a point , bounce up and down in a box in mathematica?
Would greatly apperciate for any help..
Thanks
 
Physics news on Phys.org
Code:
Animate[Graphics[Circle[{0, Sin[x]}, 1], 
  PlotRange -> {{-2, 2}, {-3, 3}}], {x, 0, 10}]
 
kai_sikorski said:
Code:
Animate[Graphics[Circle[{0, Sin[x]}, 1], 
  PlotRange -> {{-2, 2}, {-3, 3}}], {x, 0, 10}]

Cheers dude
 

Similar threads

Replies
4
Views
3K
Replies
6
Views
2K
Replies
0
Views
2K
Replies
4
Views
1K
Replies
4
Views
2K
Back
Top