# Inherit/Use p5.Vector methods in NodeJS

**URL:** <https://discourse.processing.org/t/inherit-use-p5-vector-methods-in-nodejs/19909>\
**Category:** Coding Questions\
**Created:** [April 18, 2020, 9:26pm UTC](https://discourse.processing.org/t/inherit-use-p5-vector-methods-in-nodejs/19909 "2020-04-18T21:26:34Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [April 18, 2020, 10:19pm UTC](https://discourse.processing.org/t/inherit-use-p5-vector-methods-in-nodejs/19909/4 "2020-04-18T22:19:13Z")

</div>

> [@cake](#):
>
> With the p5.Vector class as an example I’ll probably just make my own 🙂

> [@Using p5.js functions with Node.js](https://discourse.processing.org/t/using-p5-js-functions-with-node-js/5431/2):
>
> I’ve got a PVector class in JS if you want: grinning[ProcessingJS.org/reference/PVector/](http://ProcessingJS.org/reference/PVector/)

---

_[View the full topic](https://discourse.processing.org/t/inherit-use-p5-vector-methods-in-nodejs/19909)._
