Giter Club home page Giter Club logo

Comments (5)

Airblader avatar Airblader commented on June 30, 2024

I'll take a stab at the ASCII.

+-----+
|     |
|  A  |
|     |
+---*-+
|     |
|  B  |
|    >|
+-----+

You want > to warp to *, do I understand that correctly? My first reaction here is that this seems rather odd, but hey, everyone has their own workflows, I suppose.

Even if we considered adding this (and I'm not yet saying yes), do you have a more formalized proposal on how this would work? It likely has to be mutually exclusive with torus mode at least, but there's all kinds of question marks here. For example, where does this go?

+-----+
|     |
|  A  |
|     |
+-----+
|     |
|  B  |
|    >|
+-----+
|     |
|  C  |
|     |
+-----+

What about this?

+-----+-----+
|  A  |  B  |
+-----+-----+
   |     |
   |  C  |
   |    >|
   +-----+

Or this?

+-----+
|     |
|  A  |-----+
|     |     |
+-----+  B  |
      |     |
   +--+--+--+
   |     |
   |  C  |
   |    >|
   +-----+

from xedgewarp.

hooliowobbits avatar hooliowobbits commented on June 30, 2024

Yeah, I should have included the ascii ;)

+---------------------------------------+
|                                       |
|                                       |
|                   A                   |
|                                       |
|                                       |
|                                       |
+--*--------+-------------+-------------+
            |             |
            |      B      |
            |<            |
            +-------------+

I'd like to warp from > to * etc. It would be in effect a diagonal mouse move instead of the current up then over.

from xedgewarp.

Airblader avatar Airblader commented on June 30, 2024

OK, so the difference to what I wrote would be that the left hand border only maps to the "exposed" part of the other output's bottom border, ie

+---------------------------------------+
|                                       |
|                                       |
|                   A                   |
|                                       |
|                                       |
|                                       |
+----------*+-------------+-------------+
            |<            |
            |      B      |
            |             |
            +-------------+

Correct? What about my other questions? I think this feature is significant complexity so we'll need a much better definition of it and a set of test cases to discuss.

For example, there's also

+---------------------------------------+
|                                       |
|                                       |
|                   A                   |
|                                       |
|                                       |
|                                       |
+-----?-----+-------------+-------------+
            |             |
            |<     B      |
            |             |
+-----?-----+-------------+-------------+
|                                       |
|                                       |
|                   C                   |
|                                       |
|                                       |
|                                       |
+---------------------------------------+

I can probably think of a bunch of additional situations that require clarification, plus we need a more formalized definition of what the feature is intended to do — ideally an algorithmic description to test cases against. I'm happy to supply test cases if you provide that.

from xedgewarp.

hooliowobbits avatar hooliowobbits commented on June 30, 2024
+---------------------------------------+
|                                       |
|                                       |
|                                       |
|                                       |
|                 A                     |
|                                       |
|                                       |
|                                       |
+-----1-----+-----2-------+------3------+
            |             |
            |             |
            1      B     3
            |             |
            +-------------+

not exactly sure what you need but in my mind the height B and widths of A1 and A3 are relevant.

  1. warps along the B2/A2 boundary would not be adjusted at all.
  2. a warp starting at N% up B1 would result in an exit 100-N% along (left to right) of A1
  3. a warp starting at N% up B3 would result in an exit 100-N% along (left to right) of A3

However handling different screen orientations, i am sorry I don't have any answers for that.

from xedgewarp.

Airblader avatar Airblader commented on June 30, 2024

I unfortunately don't have obvious good answers either. So if it's not clear how to design this feature and there's no one to drive doing so, I'll have to reject it. I hope you understand.

from xedgewarp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.