You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centering should base its offset, rather than on the "perfect" center, instead based on the center of an ideal object of the given ratio (i.e. a square matrix of 8 items should have the same centerpoint as a square matrix of 9 items. Possible solution, center each object as though centering an object of x * z?
I.e. if x row limit is 3 and shape is 1:1, if zcount reaches 3 before running out of items, then shift the entire offset by that of a the square of 3x3
For a clearer example, if 2:1 and x row limit is 4, center resulting matrix as though centering 8 items (4x2), even if the actual total number of items is 5, 6, or 7.
This may perform worse for non-identical objects (but unsure), where the attempt at idealized code is superior, but it would certainly improve consistency for objects like the unit cubes used for testing.
The text was updated successfully, but these errors were encountered:
Centering should base its offset, rather than on the "perfect" center, instead based on the center of an ideal object of the given ratio (i.e. a square matrix of 8 items should have the same centerpoint as a square matrix of 9 items. Possible solution, center each object as though centering an object of x * z?
I.e. if x row limit is 3 and shape is 1:1, if zcount reaches 3 before running out of items, then shift the entire offset by that of a the square of 3x3
For a clearer example, if 2:1 and x row limit is 4, center resulting matrix as though centering 8 items (4x2), even if the actual total number of items is 5, 6, or 7.
This may perform worse for non-identical objects (but unsure), where the attempt at idealized code is superior, but it would certainly improve consistency for objects like the unit cubes used for testing.
The text was updated successfully, but these errors were encountered: