# Converting Processing Sketch found on OpenProcessing

**URL:** <https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240>\
**Category:** Processing\
**Created:** [August 13, 2020, 11:46pm UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240 "2020-08-13T23:46:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaseyJ](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/caseyj/32/15118_2.png) [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Post date:** [August 13, 2020, 11:46pm UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/1 "2020-08-13T23:46:47Z")

</div>

Forgive me as perhaps it’s been a while but I was exploring sketches on OpenProcessing, like this one, and I found that they were written in a slightly different language.

`https://www.openprocessing.org/sketch/445849/`

What’s going on here? I thoughy all Processing was Processing? Is this a new version?

Can you convert between the two?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 14, 2020, 12:01am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/2 "2020-08-14T00:01:59Z")

</div>

This looks like P5.js

Explore the menus along the top of this page:  
[https://processing.org/](https://processing.org/)

`:)`

---

<div class="post-metadata">

**Author:** ![paulgoux](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@paulgoux](https://discourse.processing.org/u/paulgoux)\
**Post date:** [August 14, 2020, 12:05am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/3 "2020-08-14T00:05:02Z")

</div>

This is written in p5 the JavaScript counterpart to processing, you can convert between the two, however processing makes use of java data structures as opposed to JavaScript data structures and is strongly typed.

---

<div class="post-metadata">

**Author:** ![CaseyJ](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/caseyj/32/15118_2.png) [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Post date:** [August 14, 2020, 12:13am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/4 "2020-08-14T00:13:33Z")

</div>

Very interesting thank you for sharing.

How can you convert from p5 to Processing 3?

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 14, 2020, 12:14am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/5 "2020-08-14T00:14:28Z")

</div>

> [@CaseyJ](#):
>
> How can you convert from p5 to Processing 3?

[learn | p5.js](https://p5js.org/learn/) \< Look for _ **p5.js and Processing** _

`:)`

---

<div class="post-metadata">

**Author:** ![CaseyJ](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/caseyj/32/15118_2.png) [@CaseyJ](https://discourse.processing.org/u/CaseyJ)\
**Post date:** [August 14, 2020, 12:17am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/6 "2020-08-14T00:17:05Z")

</div>

Sweet, yet another language to learn…

It’s so nice when everything works together. Like the Processing and Arduino IDE. No need to memorize where the semicolon goes in 5 different languages in 5 different places.

---

<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:** [August 14, 2020, 1:01am UTC](https://discourse.processing.org/t/converting-processing-sketch-found-on-openprocessing/23240/7 "2020-08-14T01:01:02Z")

</div>

> **[r/processing - OpenProcessing: converting code written in Java to JavaScript](https://www.reddit.com/r/processing/comments/7dqqvh/openprocessing_converting_code_written_in_java_to/dq0ecac/)**
>
> 9 votes and 14 comments so far on Reddit
