neoneye / ARC-Interactive

Enjoy puzzle-solving directly in your browser.
https://neoneye.github.io/arc/
MIT License
18 stars 2 forks source link

edit.html: Translate selected rectangle with arrow keys #44

Open neoneye opened 7 months ago

neoneye commented 7 months ago

Problem

Currently ARC-Interactive moves the content around confined inside the selection rectangle, pixels wraps around.

While trying out O2ARC I noticed that the way the selection rectangle gets moved around is different than in ARC-Interactive.

In O2ARC the x, y position of the selection rectangle gets moved, while the content of the rectangle is preserved. It's unclear what happens to the pixels outside the selection rectangle. It would make sense if the pixels gets moved to the other side of the selection rectangle.

Solution

Try it out.

I'm curious to if this is more intuitive, than the way ARC-Interactive currently does moving around of content inside the selection rectangle.