Sketch 3 – Teleporter

Move the circle around with your arrow keys. When it reaches one edge, it teleports instantly to the opposite side.

✅ Conditional: Edge teleportation → if (x < 0) x = width; if (x > width) x = 0;

✅ Loop: Continuous draw loop for position updates

✅ Custom variables: position, speed, teleport logic

⬇ Download sketch3.js