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

Window resizing breaks symmetry #50

Open
UnwarySage opened this issue Feb 19, 2019 · 8 comments
Open

Window resizing breaks symmetry #50

UnwarySage opened this issue Feb 19, 2019 · 8 comments

Comments

@UnwarySage
Copy link

For context I am using i3, a tiling window manager, so my windows tend to change size a lot.
However, it seems that the centerpoint of the canvas is linked to the present size of the window,
so if my window size changes, then my symmetry axis drifts.
Particulary for me, this means that in order to have stable symmetry, I need to fullscreen dotgrid, but that means I cannot have reference images open at the same time.

Unsure if #32 is relevant. It might be a small addition to that or core to fix this issue.

@UnwarySage
Copy link
Author

A second quirk I discovered. If your window size is an even multiple of the grid size, then it is impossible to have smooth connections across the line of symmetry.

@neauoire
Copy link
Member

I noticed this issue before but I don't have a solution for it just yet.
Let me cogitate on this a bit longer :)

@pacocoursey
Copy link
Contributor

How about having an infinite scrolling grid like Riven? Lines would have fixed coordinate positions that wouldn't change when you resize the window. Symmetry would use the right-most drawn line to flip across.

Haven't totally thought this through, but seems like having a fixed size for a tool like Dotgrid is a bit limiting.

@UnwarySage
Copy link
Author

UnwarySage commented Feb 25, 2019 via email

@neauoire
Copy link
Member

I've flip-flopped a lot on the solution for this issue, so far I'm leaning on adding the option to drag the symmetry axis around, and storing it in the format manager like color, thickness, etc..

I use Dotgrid everyday, but only for small limited things, for complex illustrations, I tend to manipulate modular pieces I've created in dotgrid, directly via the SVG source.

@jaooe
Copy link

jaooe commented May 24, 2019

const middle = { x: dotgrid.tool.settings.size.width + 15, y: dotgrid.tool.settings.size.height + 15 }
removing the + 15, i.e. changing that line to

const middle = { x: dotgrid.tool.settings.size.width, y: dotgrid.tool.settings.size.height }

Seems to do the trick for me :)

neauoire added a commit that referenced this issue May 26, 2019
@neauoire
Copy link
Member

That doesn't fix the issue described above, but the + 15 was something that should have been removed. Thanks for the head's up :)

@jkarttunen
Copy link

I kind of like it as a feature, one more tool to explore symmetries is simply resizing the window.

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

5 participants