processing / processing-website

Repository for the processing.org website
https://processing.org
GNU General Public License v2.0
68 stars 95 forks source link

Processing and P5js examples not in line with each other #320

Closed trikaphundo closed 2 years ago

trikaphundo commented 2 years ago

There are two example pages in the website, Scrollbar and Handles, whose Processing code shown does not match the changes introduced in this PR to the processing-examples repository.

My local copy of Processing's website exhibited the very same problem. The documentation for updating examples or adding examples to the website requires

  1. A copy of the processing-examples main branch be next to the processing-website repo.
  2. From within the root of the processing-website repo, run npm run updateExamples

This script will copy the Processing sketches (.pde files) from processing-examples to their corresponding locations in processing-website; it will actually only update those that already exist in the processing-website repo. I did this in my computer and the problem is solved: the .pde code shown in the Handles and Scrollbar example pages is the same as the .pde code in the processing-examples repo.

SableRaf commented 2 years ago

Thanks for the heads up! I updated these two as well as a bunch of other examples that were lagging behind. See the commit above for the full list.

Note: Please ignore the mention above (321). It was added by mistake.