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()!