Closed nikochiko closed 6 months ago
This can be broken down into a couple of issues
I can take this one on!
@FayCarsons I've broken this down to three separate issues. Would you like to take up https://github.com/Sudha247/ocaml-joy/issues/59 ?
Sure, but I'd also be happy to take on all of them if that'd be helpful!
I realised there are a couple of things wrong with the way we scale:
sqrt
of the scaling factor. i had suggested this, but it might be more intuitive to scale linearly by that factor. that is also what SVG does, and i feel we should maintain compatibility with SVG as much as possible for supporting multiple backendse.g. we should be getting the scaled shapes like in the bottom canvas
The new calculations should handle the shapes like: