processing/p5.js

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

Open

Aperta il 29 mag 2026

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (20.784 star) (3178 fork)batch import
Area:WebGLArea:WebGPUDocumentationHelp Wantedp5.js 2.0+

Descrizione

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

Guida contributor