This is also copied from my Boids project, just like the HTML page was.
The ship, such as it is, exists and moves when the player presses "W". Position is updated according to velocity, and the mesh transform is updated to match the position.