tldraw / tldraw

SDK for creating whiteboards and canvas experiences on the web.
https://tldraw.dev
Other
33.04k stars 1.98k forks source link

Add toSvg method to Geometry2d for SVG rendering #3676

Open steveruizok opened 2 weeks ago

steveruizok commented 2 weeks ago

Related to #3080

This pull request introduces an abstract method toSvg to the Geometry2d class and its derived classes, enabling the rendering of geometric shapes with customizable SVG properties.


For more details, open the Copilot Workspace session.

vercel[bot] commented 2 weeks ago

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

Name Status Preview Updated (UTC)
examples ❌ Failed (Inspect) May 1, 2024 8:58pm
1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **tldraw-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/tldraw/tldraw-docs/FYa5pzdM9fADupVqYrNWkS8GUYPG)) | [Visit Preview](https://tldraw-docs-git-steveruizok-add-tosvg-method-tldraw.vercel.app) | May 1, 2024 8:58pm |
steveruizok commented 2 weeks ago

This PR was written by Github's new Workspace Copilot, an AI product in technical preview. Let's not land this but interesting to look at.

colebemis commented 2 weeks ago

👋 Hi @steveruizok, I'm one of the folks working on Copilot Workspace. I'm so happy to see you trying it out.

How was your experience? What could have been better?

steveruizok commented 2 weeks ago

Hey Cole (feather icons fan since forever). I want to play a bit more before giving notes, but top level impressions are:

colebemis commented 2 days ago

This is super valuable feedback. Thank you, @steveruizok ❤️ Feel free to reach out with any more feedback!