From f65cc6ee32f38cd18bf8d60a0b32eddb2baa15ed Mon Sep 17 00:00:00 2001 From: regchiu Date: Mon, 27 Mar 2023 11:06:22 +0800 Subject: [PATCH] fix: dead link --- 6-space-game/3-moving-elements-around/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/6-space-game/3-moving-elements-around/README.md b/6-space-game/3-moving-elements-around/README.md index 6aff7c67..e3c504d1 100644 --- a/6-space-game/3-moving-elements-around/README.md +++ b/6-space-game/3-moving-elements-around/README.md @@ -30,7 +30,7 @@ ctx.fillStyle = "black"; ctx.drawImage(heroImg, hero.x, hero.y); ``` -✅ Can you think of a reason why redrawing your hero many frames per second might accrue performance costs? Read about [alternatives to this pattern](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Optimizing_canvas). +✅ Can you think of a reason why redrawing your hero many frames per second might accrue performance costs? Read about [alternatives to this pattern](https://web.dev/canvas-performance/). ## Handle keyboard events