# P5.js extension for Visual Code Studio error

**URL:** <https://discourse.processing.org/t/p5-js-extension-for-visual-code-studio-error/37913>\
**Category:** p5.js\
**Created:** [July 11, 2022, 12:24am UTC](https://discourse.processing.org/t/p5-js-extension-for-visual-code-studio-error/37913 "2022-07-11T00:24:16Z")\
**Posts on this page:** 1\
**Showing post:** 22

<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:** [July 12, 2022, 9:36pm UTC](https://discourse.processing.org/t/p5-js-extension-for-visual-code-studio-error/37913/22 "2022-07-12T21:36:23Z")

</div>

> [@asymmetric](#):
>
> , can you code JavaScript pj.js in the Python mode on Processing 3.5.4,

If you wanna code the p5js flavor using Python syntax take a look at pyp5js:

> **[pyp5js: drawing with Python 3](https://berinhard.github.io/pyp5js/)**
>
> Python to P5.js Transcriptor

However it requires we install Python in order to compile the sketch into JS.

Or have a look at the sketch I did in PyScript:

> [@Converting coding challenge 'Self-avoiding walk backtracing' from p5.js to Processing (Java)](https://discourse.processing.org/t/converting-coding-challenge-self-avoiding-walk-backtracing-from-p5-js-to-processing-java/35047/21):
>
> Python is now a full browser client language w/ PyScript: So again I couldn’t resist converting my previous RapydScript sketch “Self Avoiding Walk II” to PyScript. I’ve also added Python type hints to the whole code: All 3 JS Processing flavors run on PyScript just like CoffeeScript & RapydScript previous versions: You can [click here](https://api.glitch.com/project/download/?authorization=3d2d3e71-2277-421f-9d6a-38d0f41b0522&projectId=3dc3a6ae-9818-441a-8f7e-b1d50e7199c3) to download the full sketch so you can edit & run it somewhere else. And go to the link below to view it fullscreen: [https://Self-Avoiding-Walk-II-PyScrip…](https://Self-Avoiding-Walk-II-PyScript.Glitch.me/)

---

_[View the full topic](https://discourse.processing.org/t/p5-js-extension-for-visual-code-studio-error/37913)._
