In Scratch, a bunch of things happen automatically. But in Javascript, nothing happens unless you tell it to happen.
So the next step is to make the sprite actually appear. We'll do that by:
- Making a timer that fires every 25 milliseconds, producing a frame-rate of 40 FPS
- Making a function the timer calls each frame
- Clearing the canvas and drawing the bug image at the appropriate place