material-maker
material-maker copied to clipboard
Add sixteen segment display node
This adds a sixteen segment display node, which supports displaying characters from ASCII (32-125, 31 reserved to display all segments), with variable weight and rotatable diagonals.
The following characters are currently supported:
The node now includes a Custom
display mode(switchable between Custom
and ASCII
) which takes in an unsigned 16-bit float (0-65535) to determine which segments to be turned on based on bit positions:
For example, to display M
:
Binary: 0001 0010 0001 1011
Decimal: 4635
I have also written a simple web app as a reference point for the segment mapping/corresponding hex/dec/bin configurations:
Alternatively, here's how the bit positions are mapped to the segments:
_10__ __14__
| \ | / |
12 13 11 16 15
| \|/ |
__1__ __6___
| /|\ |
4 5 2 9 7
| / | \ |
__3__|__8___
1 4 8 12 16
| | | | |
0000 0000 0000 0000