# Convert p5.js to Processing

**URL:** <https://discourse.processing.org/t/convert-p5-js-to-processing/944>\
**Category:** p5.js\
**Created:** [June 14, 2018, 2:58am UTC](https://discourse.processing.org/t/convert-p5-js-to-processing/944 "2018-06-14T02:58:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [September 14, 2022, 3:18pm UTC](https://discourse.processing.org/t/convert-p5-js-to-processing/944/8 "2022-09-14T15:18:35Z")

</div>

> [@istinn](#):
>
> Do you know by chance any sketch examples exposing both language code,

Haven’t you taken a look at my Reddit link from my 1st reply for this topic btW? 🙈

Anyways, I’ve got quite some more Java + p5js sketches for you to compare both syntax flavors: 🍦

* * *

> **[Players Movement (Java) - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/718355)**
>
> https://Reddit.com/r/processing/comments/bshqa8/how\_would\_i\_make\_a\_keypressed\_function\_support/eor5epo/

> **[Players Movement (p5js) - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/717760)**

* * *

> **[3D Knot (Java) - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/608725)**
>
> https://YouTu.be/r6YMKr1X0VA

> **[3D Knot (p5js) - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/608726)**

* * *

> **[Trig Pixel Colors \[Java/Pjs\] - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/1637958)**
>
> https://Discourse.Processing.org/t/pixels-array-p5-js-vs-java/38623/2

> **[Trig Pixel Colors \[JS/p5js\] - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/1637961)**
>
> https://Discourse.Processing.org/t/pixels-array-p5-js-vs-java/38623/2

* * *

> **[Sierpinski Pentagon \[Java\] - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/955443)**

> **[Sierpinski Pentagon \[p5.js\] - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/955445)**

* * *

> **[Sierpinski Condensed \[Java\] - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/954181)**

> **[Sierpinski Condensed \[p5.js\] - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/954178)**

* * *

> **[Ramer–Douglas–Peucker Algorithm - GoToLoop - OpenProcessing](https://openprocessing.org/sketch/747172)**
>
> Switch "Infinite Loop Protection" on and off in order to run it.

> <https://gist.github.com/GoSubRoutine/da4939559d8b786df13f5694ea2edd30>
>
> There are more than three files. show original

* * *

---

_[View the full topic](https://discourse.processing.org/t/convert-p5-js-to-processing/944)._
