Skip to content

Add shape drawing compatibility addon #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Add shape drawing compatibility addon #5

merged 1 commit into from
Feb 1, 2025

Conversation

davepagurek
Copy link
Collaborator

Demo: https://editor.p5js.org/davepagurek/sketches/3GbcH6Am3

Changes:

  • Restores old behaviour of bezierVertex
  • Restores old quadraticVertex function
  • Aliases the new splineVertex to the old curveVertex
  • Aliases the new splineProperty('tightness', t) to the old curveTightness(t)
  • Sets the default splineProperty('ends') from INCLUDE, the new default, to EXCLUDE, the default in 1.x

@davepagurek davepagurek merged commit a1df4c3 into main Feb 1, 2025
@davepagurek davepagurek deleted the shapes branch February 1, 2025 18:02
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