Click, hold and drag to create a vector. Created vectors will appear in blue while the sum of those vectors will appear in red. Press space to clear and reset.
The code is all original. Feel free to use the arrow drawing method in your own projects. I hope this project can help you understand vector addition a little better.