The parent blog about this script is found here.
- Up - ship boost
- Left/Right - ship rotate
- Down - ship toggle linear damping
- w / a / s / d - vector field move
- [Shift - a/d] - vector field rotate
- q / e - vector field resize
- Spacebar - pause the simulation
- - / = - change the simulation speed
- [ / ] - change canvas width (bugged)
- ; / ' - change canvas height (bugged)
Hit the "Source" button to edit and run your own version of the code.
Any changes will be reset upon page refresh.