Skip to content

Conversation

@ksen0
Copy link
Member

@ksen0 ksen0 commented Oct 22, 2025

(Reopening #841, which was incorrectly / accidentally closed)

Addresses #415 - work in progress. Remains to be done:

  • Support for cases where pre-2023 attribution is also collective e.g., Shape primitives
  • Support for cases where there is no link for author
  • Once done on main, will need to be cherrypicked to 2.0 as well
  • Ensure all people mentioned in any part of attribution is on all-contributors in p5.js README in both main and dev-2.0 branches and include "example" emoji. Complete list: Prof** WM Harris, GH/prashantgupta24 Alternatively, can reach out to these contributors and ask them if they want to be included in the list. Since the attribution would be clear on each example.

Current Behavior

The license is at the bottom of the page, and attribution (inspired by and maintained by) is split.

Screenshot 2025-05-13 at 12 21 45

(Then there is the sketch and the code - viewer has to scroll all the way down)

Screenshot 2025-05-13 at 12 21 51

PR Behavior

Considering showing the attribution more clearly. "p5.js Contributors" also points to all-contributors list in p5.js repo README, rather than the People page. The screenshots includes rephrasing to increase clarity for each example but make the history more maintainable overall using a clearer schema; this is also open to feedback.

image

image

Future use

Although attribution of p5.js contributors work is collective, this schema allows detailed attribution of referenced work from outside the community. For example, including the following in the .mdx of an example:

remix:
  - attributionLabel: Processing example by Ira Greenberg
    attributionURL: https://processing.org/examples/reflection1.html
    remixLabel: Based on
  - attributionLabel: David Blitz
    remixLabel: Ported by
  - attributionURL: https://github.com/dkessner
    attributionLabel: Darren Kessner
    remixURL: https://github.com/processing/p5.js-example
    remixLabel: Revised in 2023

collectivelyAttributedSince: 2024

Will create the following attribution:

image

Thus, new examples can be added that correctly attribute referenced material. In the above schema, the collectivelyAttributedSince field is applicable mainly to examples ported from the Processing or archived p5.js site. For future additions, the remix filed can be used to provide a complete history. The URLs for attribution and type of remix can be edited, with optional URLs. If there is no remixLabel, "Remixed from" will be used, but other phrasing can be provided for clarity.

@ksen0 ksen0 mentioned this pull request Oct 22, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant