# Should I learn Processing with Python

**URL:** <https://discourse.processing.org/t/should-i-learn-processing-with-python/5576>\
**Category:** Processing.py\
**Created:** [November 15, 2018, 11:18pm UTC](https://discourse.processing.org/t/should-i-learn-processing-with-python/5576 "2018-11-15T23:18:02Z")\
**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:** [November 16, 2018, 9:25am UTC](https://discourse.processing.org/t/should-i-learn-processing-with-python/5576/8 "2018-11-16T09:25:37Z")

</div>

If n1 here is curious, I’ve got a “3D Knot” sketch in Java Mode, Python Mode & p5js flavors: 👅

Java Mode: [3D Knot (Java) - OpenProcessing](http://OpenProcessing.org/sketch/608725)

> [@Vertex, loop and draw along a vertex path](https://discourse.processing.org/t/vertex-loop-and-draw-along-a-vertex-path/4545/3):
>
> I did some refactoring to the original Java Mode version. coffee You can watch it running online here: running_man[OpenProcessing.org/sketch/608725](http://OpenProcessing.org/sketch/608725) The online version got a bug though: strokeWeight() is completely ignored by vertex()! space_invader But it runs 100% correctly in the PDE (Processing’s IDE) though. smirk “Knot3D.pde”: /\*\* \* 3D Knot (2017/Dec) \* Daniel Shiffman \* https://YouTu.be/r6YMKr1X0VA \* \* Mod GoToLoop (v1.0.3) (2018/Oct/16) \* https://OpenProcessing.org/sket…

Python Mode:

> [@Vertex, loop and draw along a vertex path](https://discourse.processing.org/t/vertex-loop-and-draw-along-a-vertex-path/4545/4):
>
> And while I was at it, I did a Python Mode version too: snake “Knot3D.pyde”: """ \* 3D Knot (2017/Dec) \* Daniel Shiffman \* https://YouTu.be/r6YMKr1X0VA \* \* Mod GoToLoop (v1.0.3) (2018/Oct/16) \* https://OpenProcessing.org/sketch/608725 (pjs) \* https://OpenProcessing.org/sketch/608726 (p5js) \* \* https://Discourse.Processing.org/t/ \* vertex-loop-and-draw-along-a-vertex-path/4545/4 """ """ \* http://PaulBourke.net/geometry/knots/ \* Knot 4 (1992/Oct): \* \* r(beta) = 0.8 + 1.6 \* sin(6 \*…

p5js: [3D Knot (p5js) - OpenProcessing](http://OpenProcessing.org/sketch/608726)

> [@Vertex, loop and draw along a vertex path](https://discourse.processing.org/t/vertex-loop-and-draw-along-a-vertex-path/4545/5):
>
> And finally the “3D Knot” p5js version. Watch it online below: grin[OpenProcessing.org/sketch/608726](http://OpenProcessing.org/sketch/608726) However, there’s a worse bug in it: the last stroke() determines the color for all vertex()! -1 “index.html”: \<!DOCTYPE html\> \<meta charset=utf-8\> \<meta name=viewport content=width=device-width,initial-scale=1\> \<script async src=https://cdn.JsDelivr.net/npm/p5/lib/p5.js\>\</script\> \<script defer src=sketch.js\>\</script\> “sketch.js”: /\*\* \* 3D Knot (2017/Dec) \* Daniel Shiffman \* https://Y…

---

_[View the full topic](https://discourse.processing.org/t/should-i-learn-processing-with-python/5576)._
