diff --git a/index.html b/index.html
index 55b3688ae8..fd1fde275c 100644
--- a/index.html
+++ b/index.html
@@ -514,7 +514,7 @@
stage = new createjs.Stage(canvas);
createjs.Ticker.framerate = 60;
- createjs.Ticker.addEventListener("tick", stage);
+ // createjs.Ticker.addEventListener("tick", stage); // Managed by Activity class
}
document.addEventListener("DOMContentLoaded", init);
diff --git a/js/turtles.js b/js/turtles.js
index 807a608818..9cd8fcc22e 100644
--- a/js/turtles.js
+++ b/js/turtles.js
@@ -536,7 +536,7 @@ Turtles.TurtlesModel = class {
* @returns {void}
*/
addTurtleGraphicProps(turtle, blkInfoAvailable, infoDict) {
- setTimeout(() => {
+ requestAnimationFrame(() => {
if (blkInfoAvailable) {
if ("heading" in infoDict) {
turtle.painter.doSetHeading(infoDict["heading"]);
@@ -562,7 +562,7 @@ Turtles.TurtlesModel = class {
turtle.rename(infoDict["name"]);
}
}
- }, 2000);
+ });
}
/**