Rotation through movement¶
The logical wire turns through spatial connections before reaching its output. The changing cube orientations rotate its boundary types without using an explicit patch-rotation block.
Block graph¶
BLOG source¶
BLOG 1.0
module main {
in q_in: data = 0
out q_out: data = 4
0: Port [0, 0, 0] <In>
1: ZXX [0, 0, 1]
2: ZZX [0, 1, 1]
3: XZX [1, 1, 1]
4: Port [1, 1, 2] <Out>
0 -> +Z
1 -> +Y
2 -> +X
3 -> +Z
}
See BLOG Format for the syntax or return to all examples.