# Thesis about creative coding and p5.js

**URL:** <https://discourse.processing.org/t/thesis-about-creative-coding-and-p5-js/12447>\
**Category:** Teaching\
**Created:** [July 2, 2019, 2:13pm UTC](https://discourse.processing.org/t/thesis-about-creative-coding-and-p5-js/12447 "2019-07-02T14:13:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [July 4, 2019, 1:53am UTC](https://discourse.processing.org/t/thesis-about-creative-coding-and-p5-js/12447/5 "2019-07-04T01:53:19Z")

</div>

> [@dan850](#):
>
> The Pjs/java sketch just shows a dot at the center.

Ru referring to the 3D Knot sketches? Both should draw a rotating knot.🥨

Actually there’s a bug in the Pjs/Java version: 🐛  
In its online version, `strokeWeight(8.0);` isn’t affecting the shape; while it works perfectly when running on the desktop Processing.

In the p5js version `strokeWeight(8.0);` is in effect.  
However, the whole shape becomes the color of the last used **stroke()**! 😬

Original post for the “3D Knot” sketches: 🔗

> [@Vertex, loop and draw along a vertex path](https://discourse.processing.org/t/vertex-loop-and-draw-along-a-vertex-path/4545):
>
> Hi, I’m trying to adapt the code which has been written in java by Daniel Shiffman on his youtube channel into P5.js and I’ve met some problems. The loop which I used to draw the shape doesn’t work properly. In object which I created a vector values x,y and z are still 0 ( 0: Vector {vx: 0, vy: 0, vz: 0} 1: Vector {vx: 0, vy: 0, vz: 0} etc. etc). Where am I wrong? This is a video which I mentioned -\> [https://www.youtube.com/watch?v=r6YMKr1X0VA&t=104s](https://www.youtube.com/watch?v=r6YMKr1X0VA&t=104s) This is my code: let beta; let arr =[]…

---

_[View the full topic](https://discourse.processing.org/t/thesis-about-creative-coding-and-p5-js/12447)._
