<div dir="ltr">Hello friends,<div><br></div><div>I need some help here.</div><div><br></div><div>I created a basic model having just an atom and set its coordinates as (0,0,0). Now I want to make it move along a certain path defined mathematically (say, along x axis) and I need to see it move. So I used a <b>for</b> loop. But I couldn't see and motion and soon realised that the loop is very quick in executing and thus I could see the atom at its last coordinates. So I tried to add delay of 0.5 seconds for each loop by importing <b>time</b> module and useing <b>time.sleep</b>. But still I couldn't see any motion and the coordinates of the atom is set only at the end of the <b>for</b> loop. I could not see the intermediate path. I am sure you people must have tried this earlier and this problem has a solution but I just couldn't figure it out. </div>
<div><br></div><div>Can you please help me out?</div><div><br></div><div>Thank you in advance.<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Raju R.N.</div><div>Third Year, B.Tech</div><div>Mechanical Engineering</div>
<div>National Institute of Technology Karnataka, Surathkal</div></div><br>
</div></div>