Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+11 votes

I know we can set the turtles to face the mouse, and then move them forwards (or backwards). However, in my particle simulation when I did this it made it run very poorly, and I would definitely prefer to have a fast, smooth looking animation. Is there anyway to do this with less of a performance impact?

asked in CSC 150 January201920 by (8 points)
+4

Curious -- I'm not sure why that is. Are you using "tick-based" display updates, or "continuous", and does that matter?

0

What we did in class today is actually exactly what I needed, so question answered!

2 Answers

+3 votes
 
Best answer

I believe we covered something like this during class today, so I would suggest just converting the animation into an mp4 so it can move more smoothly.

answered by (8 points)
selected by
0

agreed. Thank you, Peyton

+5 votes

If the movement seems slow, maybe you could try increasing the forward distance the turtles travel.

answered by (8 points)
...