Skip to content
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

Add heart geo shape #3787

Merged
merged 23 commits into from
May 24, 2024
Merged

Add heart geo shape #3787

merged 23 commits into from
May 24, 2024

Conversation

steveruizok
Copy link
Collaborator

@steveruizok steveruizok commented May 21, 2024

This PR adds a heart geo shape. ❤️

It also:

  • adds toSvgPathData to geometry2d

  • uses geometry2d in places where previously we recalculated things like perimeter of ellipse

  • flattens geo shape util components

  • Calculate the path length for the DashStyleHeart

Change Type

  • sdk — Changes the tldraw SDK
  • feature — New feature

Release Notes

  • Adds a heart shape to the geo shape set.

Copy link

vercel bot commented May 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview May 24, 2024 9:23am
1 Ignored Deployment
Name Status Preview Updated (UTC)
tldraw-docs ⬜️ Ignored (Inspect) Visit Preview May 24, 2024 9:23am

@steveruizok steveruizok requested a review from ds300 May 22, 2024 11:10
@steveruizok steveruizok added this pull request to the merge queue May 24, 2024
Merged via the queue into main with commit ef44d71 May 24, 2024
10 checks passed
@steveruizok steveruizok deleted the heart-geo-shape branch May 24, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature sdk Affects the tldraw sdk
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant