processing-examples
processing-examples copied to clipboard
The image produced by the WaveGradient.pde and WaveGradient.js examples produces different output
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

URL(s) of affected page(s)
Proposed fix
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.