5 ms·
stackEqual stacks neighboring blocks of the same color on top of each other.
by altschuler 11y ago
stackEqual stacks neighboring blocks of the same color on top of each other.
- sweezyjeezy 11y agoNot quite, it stacks neighbouring columns with the same pattern of colours on top of each other, e.g. http://i.imgur.com/35N4tPu.png http://i.imgur.com/35N4tPu.png The columns have to be the same pattern exactly (same height, same colours)
- sharkdp 11y agoExactly! The code for stackEqual is here: https://github.com/sharkdp/cube-composer/blob/master/src/Transformer.purs#L45-L49 https://github.com/sharkdp/cube-composer/blob/master/src/Tra... I should definitely add a better description somewhere!