How do you make a point bounce up and down in a box in Mathematica?

  • Topic: Mathematica 
  • Thread starter rbnphlp
  • Start date
  • Tags Tags
    Mathematica
2 replies · 3K views · last reply
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
 
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