processing/p5.js

Add p5.strands support for randomGaussian()

Chiusa

#8775 aperta il 10 mag 2026

 (11 commenti) (1 reazione) (1 assegnatario)JavaScript (3178 fork)batch import
Area:WebGLEnhancementHelp Wantedp5.js 2.0+p5.strands

Metriche repository

Star
 (20.784 stelle)
Metriche merge PR
 (Merge medio 8g 13h) (45 PR mergiate in 30 g)

Descrizione

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.

Guida contributor