You can install ASCII using Brew. In Terminal, just run:
brew tap smittytone/homebrew-smittytone
brew install --cask ascii
Alternatively, click the file link below to download ASCII.
Please verify the integrity of the download with the SHA-256 checksum.
ASCII is a macOS application that you can use to design 8x8 icons and character glyphs for electronics projects which incorporate monochrome LED matrix displays:
Or include three-colour panels:
Create a glyph pattern (coloured squares are equivalent to lit matrix segments) and then click Grid to Values to convert the pattern into hex byte values (one or two bytes per column) that can be pasted into your microcontroller application code.
Existing values can be pasted into the Grid Pixel Values field — click Values to Grid to display the pattern they represent. Entered strings and array integers must be in hexadecimal form.
In each case, select String or Array to choose the values’ format:
ASCII supports bi-colour LEDs as well as monochrome LEDs. When generating or reading hex strings for monochrome LEDS, ASCII adds one hex byte per column of pixels. For bi-colour LEDs, which can actually show three colours, ASCII adds two hex bytes per column of pixels to enable each pixel’s colour to be determined by two bits:
|Byte One Bit
|Byte Two Bit
|None — pixel is unlit
Use the Use Colour: switch to enable or disable colour mode. When switching, lit pixels will be converted to single colour if you are moving to monochrome, or the currently selected pixel colour if you are switching the other way. ASCII remembers pixel colours, so if you create a three-colour design, switch to monochrome mode and then switch back, you will not lose your green, red and orange pixels.
Use the three colour radio buttons to select the paint colour. These controls are disabled in monochrome mode. The Invert Pixels button is also disabled in colour mode.
Hit Fill Grid to set all the pixels in the grid.
Hit Clear Grid to clear all the pixels in the grid.
Hit Invert Pixels to reverse the pattern on the grid: set pixels become unset (black to white) and vice versa.
Hit Rotate Clockwise to rotate the grid patten by 90° clockwise.
Hit Flip Horizontal to flip the grid pattern about the vertical axis.
Hit Flip Vertical to flip the grid pattern about the horizontal axis.
Hit Command + any of the cursor keys to move the whole image one pixel in the arrow’s direction.
The round row and column buttons can be clicked to set the whole row or column, or shift-clicked to clear the whole row or column.
Click on a pixel to set it — keep the mouse button held down to ‘paint’ pixels continuously.
You can view ASCII’s source code at GitHub.