visuco
Challenge 2 of 16

One function, two variables, and each one grows at its own rate. drawFish has no idea it is being called twice — it draws wherever it is told, so two calls give you two fish moving apart.

Set the two speeds.

Your code JavaScript

Set the two speeds.

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

Report this challenge