processing / processing/processing-website

The alphamask example: The web preview doesn't match the Processing example

Aperta
#357 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
MDX
Stelle
90
Fork
122
Merge medio
1h 43m
PR unite (30g)
3

Descrizione

Issue description

The alphamask example https://processing.org/examples/alphamask.html
has a P5.js preview over the code. When the Processing example is loaded
from the Processing editor - the sketch doesn't behave the same way as
the preview.

My impression is that the P5js preview on top of the code needs to invert
the alphamask in order to behave the same way as the Processing example below.

See screenshots of the sitatuation here:

https://github.com/processing/p5.js/issues/5343

URL(s) of affected page(s)

https://processing.org/examples/alphamask.html

Proposed fix

Invert alphamask of the image used for the P5.js preview (and do nothing
for the image used as alphamask in the Processing examples).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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.

Direzione di ricerca

Inizia dalla pagina dell’esempio alphamask all’indirizzo processing.org/examples/alphamask.html e analizza come la sua anteprima P5.js utilizza l’immagine alphamask. Confronta l’anteprima con l’esempio Processing riportato di seguito; il lavoro è completato quando entrambi si comportano in modo coerente, con l’anteprima che applica l’inversione proposta mentre l’esempio Processing rimane invariato.

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

Valutazione

Stack tecnologico
javascript
Ambito
documentation
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.