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

Define coordinate system #9

Open
mwadams opened this issue Mar 12, 2024 · 2 comments
Open

Define coordinate system #9

mwadams opened this issue Mar 12, 2024 · 2 comments

Comments

@mwadams
Copy link

mwadams commented Mar 12, 2024

As far as I can tell, the spec doesn't define the coordinate system in use (e.g. which direction is positive in each axis, what point on the entity is represented by its {x,y} position.

For interoperability, it would be good to tie this down explicitly.

@chainlist
Copy link

I think it's safe to assume this coordinates system is based on the webview one.

x axis: negative values go left, positive right
y axis: negative values go up, positive go down.

But I agree, it should be said explicitly

@mwadams
Copy link
Author

mwadams commented Mar 12, 2024

And to clarify which point does it specify on the node: Top-left? Center? Bottom-left?

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

No branches or pull requests

2 participants