This repository was archived by the owner on Sep 22, 2024. It is now read-only.
This repository was archived by the owner on Sep 22, 2024. It is now read-only.
first random walk example shows nothing; need strokeWeight? #128
Open
Description
I'm trying the first random walk example, and it shows nothing at all. I'm using Firefox 129 on Ubuntu, and the live p5js editor site.
It seems that the point()
function isn't showing 1-pixel points. If I change the show()
function to have strokeWeight(2)
, I see the path.
I suspect a rounding error, or maybe just something weird with my browser / screen resolution / graphics driver -- I can use stroke weights slightly larger than 1 and they display. The cutoff seems to be around 1.008; smaller than that, and nothing is shown; larger than that, and I do see a random walk.
Interestingly, I can zoom the page (ctrl-+) and then strokeWeight(1) does show the path!
I guess this is mostly an FYI kind of issue in case others report this.
Metadata
Metadata
Assignees
Labels
No labels