processing-docs icon indicating copy to clipboard operation
processing-docs copied to clipboard

The image produced by the WaveGradient.pde and WaveGradient.js examples produces different output

Open soegaard opened this issue 3 years ago • 1 comments

Issue description

Compare the example distributed with Processing 3 with the output of WaveGradient.js. Notice that the left side is different.

https://github.com/processing/processing-docs/blob/master/content/examples_p5/Basics/Color/WaveGradient/WaveGradient.js

image

URL(s) of affected page(s)

Proposed fix

soegaard avatar Jul 28 '21 19:07 soegaard

Reimplementing the WaveGradient in Sketching shows WaveGradient.pde produces the correct output. So either there is a bug in WaveGradient.js or in P5.js.

soegaard avatar Jul 28 '21 19:07 soegaard