processing/p5.js

[p5.js 2.0+ Question]: Stroke Scaling is Different in p5 WebGL and WebGPU

Open

#8.847 geöffnet am 29. Mai 2026

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (3.178 Forks)batch import
Area:WebGLArea:WebGPUDocumentationHelp Wantedp5.js 2.0+

Repository-Metriken

Stars
 (20.784 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 8h) (56 gemergte PRs in 30 T)

Beschreibung

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

Any

Web browser and version

Any

Operating system

macOS 26.5

Steps to reproduce this

Is stroke scaling in p5 WebGL and WebGPU incorrect?

https://editor.p5js.org/quinton-ashley/sketches/ddhGfhknv

Contributor Guide