visuco
Challenge 11 of 12

A bounce is a test and a flip: at the wall, speed = -speed sends the same sum back. The if button gives you the shape.

Start x at 40 with speed 12, add speed each frame, flip speed when x passes 340, and draw a CYAN circle at x, 200, 70 across, on BLACK.

Your code JavaScript

Start x at 40 with speed 12, add speed each frame, flip speed when x passes 340, and draw a CYAN circle at x, 200, 70 across, on BLACK.

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

Report this challenge