A buffer is a single-input, binary identity function. The output value is the input value, unchanged.
The code below realizes a buffer by dropping a vertical I-tetromino onto an input node.
buffer.t iv 0 in i 0 0 out o 0 4
The result for both input values follows.
The cells of the output node mirror the cells of the input node. Any tetromino or any stack of tetrominoes can be used to copy data in this way.
© 2023 meatfighter.com |