js vector classes for creative coding