Document changes for p5.js 1.x to 2.0 transition#32
Merged
Conversation
Added a list of changes for transitioning from p5.js 1.x to 2.0, including new function usage and compatibility add-ons. Addresses #14
Member
Author
|
Ad per @davepagurek 's comment about processing/p5.js#8203 - this should include comments on not allowing 2d and 3d arbitrary addition just a marked for deprecation workaround for createvector with zero args |
davepagurek
reviewed
Nov 7, 2025
README.md
Outdated
| Notice that when you press multiple buttons at the same time, multiple shapes can be obtained. | ||
|
|
||
| ## …using keyCode events: | ||
| Finally, touch and mouse event handling has been combined to improve sketch consistency across devices: |
Collaborator
There was a problem hiding this comment.
Maybe we can be clearer that the ones listed below have been removed? skimming the text, I could see it being accidentally mistaken for being the thing to use now.
Member
Author
There was a problem hiding this comment.
Great point, I'll reformat this section to use a 1.x vs 2.x table layout!
Co-authored-by: Dave Pagurek <davepagurek@gmail.com>
Co-authored-by: Dave Pagurek <davepagurek@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a list of changes for transitioning from p5.js 1.x to 2.0, including new function usage and compatibility add-ons.
Addresses #14