My obsession with hexagons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
My obsession with hexagons
Started when I was aout 16-17 in 1979 . . .
However, LiveCode is not all that good hexagonally . . .
- -
As it seems quite unable to position hexagons so they are equidistant from each other.
Which, as the inventor of Hexatafl (and so on) is a bit of a problem:
- -
I wonder if anyone has found a way round this problem?
However, LiveCode is not all that good hexagonally . . .
- -
As it seems quite unable to position hexagons so they are equidistant from each other.
Which, as the inventor of Hexatafl (and so on) is a bit of a problem:
- -
I wonder if anyone has found a way round this problem?
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: My obsession with hexagons
Richmond.
Not sure what you mean. I have positioned hexagons, closely packed, without issue. They fit and align just fine.
In your picture, they seem to do so as well.
????
Craig
Not sure what you mean. I have positioned hexagons, closely packed, without issue. They fit and align just fine.
In your picture, they seem to do so as well.
????
Craig
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: My obsession with hexagons
But their centres are not equidistant.They fit and align just fine.
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: My obsession with hexagons
Richmond.
I made a bunch of stock hexagons and laid them out with their sides overlapping perfectly. I measured the loc of each, and found that the centers were equidistant from each other in both X and Y.
Now there may be an issue with grcs that are one pixel larger, since successive locs might have a slight rounding error. But what are you seeing?
Craig
I made a bunch of stock hexagons and laid them out with their sides overlapping perfectly. I measured the loc of each, and found that the centers were equidistant from each other in both X and Y.
Now there may be an issue with grcs that are one pixel larger, since successive locs might have a slight rounding error. But what are you seeing?
Craig
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: My obsession with hexagons
Well, as it is my last week before I begin teaching again it is the bottom of a beer glass.But what are you seeing?
Hexagonal, of course:
-
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: My obsession with hexagons
The hexagonal images in my example were placed manually.
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: My obsession with hexagons
Hi.
I placed mine manually as well, visually overlapping the edges so they appeared as a single pixel-wide line. These were dragged right from the tool palette. I did not try enlarging each graphic one pixel in each dimension to see if the rounding error actually makes a difference.
But the displacement in X was 176, and the displacement in Y was 102
Craig
I placed mine manually as well, visually overlapping the edges so they appeared as a single pixel-wide line. These were dragged right from the tool palette. I did not try enlarging each graphic one pixel in each dimension to see if the rounding error actually makes a difference.
But the displacement in X was 176, and the displacement in Y was 102
Craig
-
- Livecode Opensource Backer
- Posts: 9375
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: My obsession with hexagons
It saves a lot of bother if you embed images directly.
-
- VIP Livecode Opensource Backer
- Posts: 9655
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: My obsession with hexagons
I will embed in the future.
What about your favorite regular polygon?
Craig
What about your favorite regular polygon?
Craig