Skip to content

points randomly drawn are grouping in bands in 2.3.1 #9228

Description

@joemckay55

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • WebGPU
  • p5.strands
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

2.3.1 to 2.3.3

Web browser and version

Chrome 154.0.8037.58 Same is happening in Safari - this isn't a browser issue.

Operating system

mac OS 26.7 and windows 10

Steps to reproduce this

Steps:

Randomly draw a lot of points. The points will band into sections on the x-axis . The sections are marked at 128, 256, 512, etc, with fewer points being drawn the higher the section.
This only happens in p5 versions after 2.3.0
https://editor.p5js.org/Joemckay/sketches/zz9wz8dfL

Snippet:

function draw() {
for (let i = 0; i < 10000; i++) {
point(random(width), random(height));
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions