Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add a toggle for the experimental WebGPU mode addon

Aperta
#4,061 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

Inizia tracciando i toggle esistenti di compatibility-addon e p5.sound, insieme al parametro URL utilizzato per selezionare una versione di p5. La modifica è completata quando un’opzione WebGPU esplicitamente sperimentale può essere abilitata dall’editor e tramite un parametro URL, e il comportamento di configurazione WebGPU richiesto è gestito o chiaramente delimitato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Enhancement p5v2 switch: recommended
Increasing Access

One of the first-party addons we build with p5.js is p5.webgpu.js. This is still experimental, but we're actively looking for people to test it out and give feedback and possibly contribute. In the next p5 version, we will have items in the reference that are exclusively for WebGPU mode. It would be great to give them an easy way to try it out via a toggle like we have for our compatibility addons or p5.sound.

Feature enhancement details
  • We should make sure to label it as experimental -- we do want people to test it out, but for the purposes of providing feedback and getting involved, as we expect APIs to change. We want to set the right expectations.
  • In the same way we let you link to a specific p5 version via a URL param, could we also let you start with the WebGPU addon enabled via URL param? This would help us be able to link to a starting sketch from the p5 website.
  • WebGPU mode also requires using async setup and await createCanvas(w, h, WEBGPU). Possibly overkill, but one could maybe try to change that in the code too.
Lingua principale
JavaScript
Stelle
1.7k
Fork
1.7k
Merge medio
2g 7h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di processing/p5.js-web-editor

Tutte le issue di processing/p5.js-web-editor

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.