processing/p5.js

Add p5.strands support for randomGaussian()

Open

#8775 opened on May 10, 2026

View on GitHub
 (10 comments) (1 reaction) (1 assignee)JavaScript (20,784 stars) (3,178 forks)batch import
Area:WebGLEnhancementHelp Wantedp5.js 2.0+p5.strands

Description

Increasing access

We recently implemented random() in p5.strands. The more similar functions we implement in both places, the less users will need to worry about what can or can't be used in different places.

Most appropriate sub-area of p5.js?

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

Feature enhancement details

Ideally we can use the existing random() backend, and build a wrapper over it that redistributes the uniform random numbers rather than building a separate random implementation.

Contributor guide