visuco
Challenge 14 of 16

The most useful thing to work out in an animation is the next number. nextX is handed where the fish is now and answers with where it should be, and the readout shows whether anything is actually changing.

Set the step, and hand nextX the right thing.

Your code JavaScript

Set the step, and hand nextX the right thing.

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

Report this challenge