processing / processing/processing-website

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

オープン
#357 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
MDX
スター
90
フォーク
122
平均マージ
1時間 43分
マージ済み PR(30日)
3

説明

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).

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

processing.org/examples/alphamask.html の alphamask サンプルページから始め、P5.js プレビューで alphamask 画像がどのように使われているかを調べてください。プレビューを以下の Processing サンプルと比較してください。プレビューが提案された反転を適用し、Processing サンプルは変更されない状態で、両方が一貫して動作すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
documentation
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。