# Using p5.js functions with Node.js

**URL:** <https://discourse.processing.org/t/using-p5-js-functions-with-node-js/5431>\
**Category:** Libraries\
**Created:** [November 11, 2018, 9:27am UTC](https://discourse.processing.org/t/using-p5-js-functions-with-node-js/5431 "2018-11-11T09:27:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 13, 2018, 11:44pm UTC](https://discourse.processing.org/t/using-p5-js-functions-with-node-js/5431/2 "2018-11-13T23:44:23Z")

</div>

> [@Sarah](#):
>
> , which has some functions I would like to use (such as using vectors).

I’ve got a PVector class in JS if you want: 😀  
[ProcessingJS.org/reference/PVector/](http://ProcessingJS.org/reference/PVector/)

> <https://gist.github.com/GoToLoop/acbf106aa784820aff23>

---

_[View the full topic](https://discourse.processing.org/t/using-p5-js-functions-with-node-js/5431)._
