Fix: Smoke particle example - #1522
Conversation
|
Why is |
|
Hi! We noticed during testing in the p5.js web editor that the original variable name threw a redeclaration error (Function "length" on line 32 is being redeclared and conflicts with a p5.js function). With the user in mind we thought renaming the variable would help avoid conflict with the global length property. Please let us know if you prefer a different naming convention or approach! |
|
Thanks for flagging that @kaissy-a, it is indeed a v2 behavior that was not present in v1. It's not intended so I will look into whether it should be reported as a bug, because there is no global length function in the pubic API, and multiple examples use @davepagurek @limzykenneth this seems to be a strands shadow problem introduced in v2, should I make a bug issue in p5.js repo?
@kaissy-a let's rename it back to |
|
@kaissy-a thanks; this is still marked as "draft" - intentional or ready from your side? |

Issue: 1025
Changes: Added parameters to createVector.
Changes running here: https://editor.p5js.org/kaissy/sketches/Xovljq5vg
Team Members:
@kaissy-a
@esoloriovilla-dot
@RyRy241