jamievicary / globular

Globular
37 stars 9 forks source link

Inconsistent labelling/colouring in projections #72

Closed akissinger closed 7 years ago

akissinger commented 7 years ago

Globular seems to use different logic to decide which colour to fill a region in a projection and which tooltip to give. Attached is an example. This cup is the target of a 3-cell (from cup to sock). In the slice view, you can see the 1-cell F is white. So, when switching to the projected view, I would assume I'm looking at this cell from the right side. So, I see coming in the bottom of the diagram: identity on D, then a wire for the 2-cell itself, then F (as the colours indicate). But when I mouse over the white region, it says G (which should be purple in this example).

globular globular1

jamievicary commented 7 years ago

Hi Aleks, could you attach a workspace that exhibits this problem?

On Wed, Aug 17, 2016 at 11:20 AM, Aleks Kissinger notifications@github.com wrote:

Globular seems to use different logic to decide which colour to fill a region in a projection and which tooltip to give. Attached is an example. This cup is the target of a 3-cell (from cup to sock). In the slice view, you can see the 1-cell F is white. So, when switching to the projected view, I would assume I'm looking at this cell from the right side. So, I see coming in the bottom of the diagram: identity on D, then a wire for the 2-cell itself, then F (as the colours indicate). But when I mouse over the white region, it says G (which should be purple in this example).

[image: globular] https://cloud.githubusercontent.com/assets/881183/17732906/5cdc4444-6474-11e6-8622-5596a077a091.png [image: globular1] https://cloud.githubusercontent.com/assets/881183/17732907/5cdfe59a-6474-11e6-8096-87ed13100228.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jamievicary/globular/issues/72, or mute the thread https://github.com/notifications/unsubscribe-auth/AKHHHkBzT66oz5r4x7ouKU4rARXZehatks5qguBQgaJpZM4JmTPf .

akissinger commented 7 years ago

Sure, attached. In "sock-def", set projection to 1 and mouse over the yellow region. It says F, but it should say G. (Or alternatively, this region should be coloured white). colour-problem.json.zip

jamievicary commented 7 years ago

OK, fixed.