Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate Braille characters based on a UEB character, dot number or pixel grid
ResourceFunction["GenerateBraille"][char] generates a UEB Braille character corresponding to character char. | |
ResourceFunction["GenerateBraille"][dotNumbers] generates a Braille character corresponding to the dotNumbers. | |
ResourceFunction["GenerateBraille"][pixelArray] generates Braille characters corresponding to the pixel values of pixelArray. | |
ResourceFunction["GenerateBraille"][string] translate string into uncontracted Braille. |
Generate a Braille character:
| In[1]:= |
| Out[1]= |
Generate a string of uncontracted Braille characters:
| In[2]:= |
| Out[2]= |
Generate a Braille character from dot numbers:
| In[3]:= |
| Out[3]= |
Note the position of values of the dots for 126:
| In[4]:= |
| Out[4]= |
Generate a custom Braille character from a pixel grid:
| In[5]:= | ![]() |
| Out[5]= |
When a row contains more than 2 pixel values, multiple characters will be generated:
| In[6]:= | ![]() |
| Out[6]= |
When a pixel array contains more than 4 rows, multiple lines will be generated:
| In[7]:= | ![]() |
| Out[7]= |
The pixel array does not have to conform to the Braille characters' minimum dimensions:
| In[8]:= |
| Out[8]= |
UEB or AEB grammatical rules are not implemented, so only uncontracted Braille is supported:
| In[9]:= |
| Out[9]= |
Only single character dot numbers are supported:
| In[10]:= |
| Out[10]= |
Wolfram Language 12.1 (March 2020) or above
This work is licensed under a Creative Commons Attribution 4.0 International License