processing / processing/processing-website
The alphamask example: The web preview doesn't match the Processing example
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- MDX
- Sterne
- 90
- Forks
- 122
- Ø Merge
- 1 Std. 43 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
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).
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der alphamask-Beispielseite unter processing.org/examples/alphamask.html und untersuche, wie ihre P5.js-Vorschau das alphamask-Bild verwendet. Vergleiche die Vorschau mit dem folgenden Processing-Beispiel; die Aufgabe ist erledigt, wenn sich beide konsistent verhalten, wobei die Vorschau die vorgeschlagene Invertierung anwendet und das Processing-Beispiel unverändert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- documentation
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100