Re:A modular system for isometric pixel blocks
by mayoff on Friday January 13, 2023 @09:44PM
(#34376869)
In spite of what the page says, the cell isn't 7x7. One diamond-shaped cell is 24 pixels wide, measuring from the center of the leftmost pixel to the center of the rightmost pixel, and 12 pixels tall center-to-center.
Re:A modular system for isometric pixel blocks
by derefr on Saturday January 14, 2023 @03:23AM
(#34378384)
You mean that a cell has a diameter of 24 pixels. “Width” would be measured along one of the (angled) sides of the cell.
Re:A modular system for isometric pixel blocks
by Adverblessly on Saturday January 14, 2023 @05:41AM
(#34379144)
By dual pixel they mean a horizontal line that is one pixel tall and two pixel wide. Each cell's side is 7 such dual pixels arranged diagonally. But since you stack tiles so that the grid line overlaps, it means that two 7-wide cells are together only 13-wide (and not 14). The top dual pixel of one is the bottom dual pixel of the other.
Going smaller, two 4-wide cells will again lose one line to the overlap and thus join to make a 7 (that's how 7 divides by 2).
Three 3-wide cells join and lose two lines to overlap and thus again join to make 33-2 = 7
Six 2-wide cells join and lose fives lines to overlap 62-5 = 7.
Or in general for n cells, there are n-1 overlaps, so if they are k-wide the combined cell will be n*k - (n-1) wide.
Re:A modular system for isometric pixel blocks
by scotty79 on Saturday January 14, 2023 @08:01AM
(#34379988)
It makes more intuitive sense when you notice 7-1 = 6.
All "outer" dimensions are 6*n + 1.
So 4 cells are actually 4*6+1 not 4*7
So you can see that 4 cells can be divided into 3 parts in this way:
3*4*6+1 = 3*4*2*3+1 = 3*2*4*3+1
All of that is because there's 1px overlap between neighboring cells.
Cubes are 4x4x4 cells yet can be divided by 3?
How does that work out?