processing/p5.js

Add p5.strands support for randomGaussian()

已关闭

#8,775 创建于 2026年5月10日

 (11 条评论) (1 个反应) (1 位负责人)JavaScript (3,178 个派生)batch import
Area:WebGLEnhancementHelp Wantedp5.js 2.0+p5.strands

仓库指标

星标
 (20,784 个星标)
PR 合并指标
 (平均合并 8天 13小时) (30 天内合并 45 个 PR)

描述

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.

贡献者指南