# Converting sketch from p5.js to Processing (Image art: Messy Curve Draw)

**URL:** <https://discourse.processing.org/t/converting-sketch-from-p5-js-to-processing-image-art-messy-curve-draw/26969>\
**Category:** Coding Questions\
**Created:** [January 11, 2021, 11:45am UTC](https://discourse.processing.org/t/converting-sketch-from-p5-js-to-processing-image-art-messy-curve-draw/26969 "2021-01-11T11:45:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Marinus](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Marinus](https://discourse.processing.org/u/Marinus)\
**Post date:** [January 17, 2021, 6:26pm UTC](https://discourse.processing.org/t/converting-sketch-from-p5-js-to-processing-image-art-messy-curve-draw/26969/6 "2021-01-17T18:26:28Z")

</div>

Just to update I found someone else who has attempted the same and maybe had more success!  
See this one:

> [@Line drawing from image beautiful sketch from p5.js to processing 3](https://discourse.processing.org/t/line-drawing-from-image-beautiful-sketch-from-p5-js-to-processing-3/10133):
>
> good afternoon i try to migrate this beautiful sketch [https://www.openprocessing.org/sketch/486307](https://www.openprocessing.org/sketch/486307) from p5js to processing 3. Till now i have the following code that is “somehow” works but the lines doesn’t seem to be as “curly” and beautiful as the original. What do you think is the matter? excuse my english. main tab PImage img; Paint paint; //var paint; int subStep = 400; //800; float z = 0; // noise boolean isStop = false; int count = 0; void settings() { img = loadImage("aj4.jpg"…

I’m still looking into improving it a bit and of course get the white parts of lines to be filtered out and have SVG export. Maybe I should attempt some easier projects first before I continue on this one…

---

_[View the full topic](https://discourse.processing.org/t/converting-sketch-from-p5-js-to-processing-image-art-messy-curve-draw/26969)._
