Graphite icon indicating copy to clipboard operation
Graphite copied to clipboard

Add Heart shape tool

Open ashishmohapatra240 opened this issue 1 month ago • 4 comments

Partially Closes #3419

https://github.com/user-attachments/assets/30e6f1fc-fbb8-45a8-8bfd-bb539871926e

  • Add new_heart() method
  • Add Heart node to vector generator nodes
  • Add Heart to ShapeType enum and UI dropdown

ashishmohapatra240 avatar Nov 26 '25 14:11 ashishmohapatra240

I feel like the shape looks a bit off, when I think of a heart, I usually picture something like this:

TrueDoctor avatar Nov 26 '25 14:11 TrueDoctor

Yeah, let me try to match the shape. I tried playing around with the values in core.rs and came up with this.

ashishmohapatra240 avatar Nov 26 '25 14:11 ashishmohapatra240

I heart can't be represented with just two anchor points, it needs an additional pair. We also would like gizmos to control the shape of the heart in several ways like the depth and separation of the top V, the angle of the bottom V, and maybe the "plumpness" of the bulb parts.

Keavon avatar Nov 26 '25 18:11 Keavon

I heart can't be represented with just two anchor points, it needs an additional pair. We also would like gizmos to control the shape of the heart in several ways like the depth and separation of the top V, the angle of the bottom V, and maybe the "plumpness" of the bulb parts.

On it, sir. 🫡

ashishmohapatra240 avatar Nov 26 '25 18:11 ashishmohapatra240