visuco
Challenge 10 of 12

limit puts a wall either side of a number: however far past one the sum takes it, it comes straight back.

Start x at 20 with speed 12, add speed each frame, limit x between 40 and 340, then draw a CYAN circle at x, 200, 70 across, on BLACK.

Your code JavaScript

Start x at 20 with speed 12, add speed each frame, limit x between 40 and 340, then draw a CYAN circle at x, 200, 70 across, on BLACK.

0 / 40 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge