# Issue with transfer from PDE to openprocessing

**URL:** <https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479>\
**Category:** Coding Questions\
**Created:** [November 17, 2020, 3:17am UTC](https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479 "2020-11-17T03:17:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divitiacus](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Divitiacus](https://discourse.processing.org/u/Divitiacus)\
**Post date:** [November 17, 2020, 3:17am UTC](https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479/1 "2020-11-17T03:17:07Z")

</div>

I wanted to start to use openprocessing to publish my sketches but it seems the transfer from PDE doesn’t work 1:1.  
Sketch:  
https://www.openprocessing.org/sketch/1018718/embed/?

I get the error message that createShape is not defined. However it is (Line 203). I thought I would have to move it to setup but that didn’t change anything.  
There is also no error showing in the code itself.

Any idea, how I can find out what the issue is?

---

<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 17, 2020, 5:22am UTC](https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479/2 "2020-11-17T05:22:32Z")

</div>

> [@Divitiacus](#):
>
> I get the error message that createShape is not defined.

Unfortunately Pjs doesn’t have **createShape()**: 😢  
[https://GoToLoop.GitHub.io/processing-js.github.io/reference/](https://GoToLoop.GitHub.io/processing-js.github.io/reference/)

Most we can do is loading an “.svg” shape via **loadShape()**: 😳  
[https://GoToLoop.GitHub.io/processing-js.github.io/reference/loadShape\_/](https://GoToLoop.GitHub.io/processing-js.github.io/reference/loadShape_/)

---

<div class="post-metadata">

**Author:** ![Divitiacus](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Divitiacus](https://discourse.processing.org/u/Divitiacus)\
**Post date:** [November 17, 2020, 10:53pm UTC](https://discourse.processing.org/t/issue-with-transfer-from-pde-to-openprocessing/25479/3 "2020-11-17T22:53:33Z")

</div>

Thank you. I was not even aware that openprocessing is using Processing.js  
At least it is not too hard to change.

There goes my highscore table as well…
