# P5.js or Processing for Education?

**URL:** <https://discourse.processing.org/t/p5-js-or-processing-for-education/25347>\
**Category:** Teaching\
**Created:** [November 11, 2020, 4:37pm UTC](https://discourse.processing.org/t/p5-js-or-processing-for-education/25347 "2020-11-11T16:37:13Z")\
**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 11, 2020, 6:03pm UTC](https://discourse.processing.org/t/p5-js-or-processing-for-education/25347/2 "2020-11-11T18:03:57Z")

</div>

> [@vaides](#):
>
> I think that p5js could be easier; but I’m afraid that is not a real language.

The library p5js is a flavor of Processing targeting the JS language.

> [@vaides](#):
>
> Which one of these 2 tools would you recommend for educational purposes…

Processing’s flavor p5\*js got the biggest upper hand b/c it runs inside browsers.

Although if we use just the bare Processing API we can deploy sketches coded on its Java Mode to run on a browser too via Pjs (which is another flavor targeting JS btW).

The strongest advantage Processing’s Java Mode main flavor got is debugging.

Debugging in JS is much harder than debugging in Java.

---

_[View the full topic](https://discourse.processing.org/t/p5-js-or-processing-for-education/25347)._
