Skip to content

Canvas based visual editor that converts designs directly into code compatible with Adafruit's GFX library

Notifications You must be signed in to change notification settings

underwoodbrady/Adafruit-GFX-VisualEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Visual Editor Logo

Version Website Status

Visual Graphics to Arduino Sketches

Adafruit GFX Visual Editor is an online HTML canvas based visual editing software that converts your designs directly into Arduino code compatible with most microcontrollers and displays.

It is available online for free or you can run on your own computer using the steps in Local Setup. If not listed below in Known Issues please report bugs or leave a suggestion in github.

Compatibility

Any microcontroller than can run Arduino code should be compatible with Adafruits GFX library.

Displays
Custom
0.96" OLED 96x64
0.91" OLED 128x32
0.96" OLED 128x64
1.5" OLED 128x128
1.9" OLED 170x320
1.44" LCD 128X128
1.8" LCD 128X160
2.2" LCD 220x176
2.4" LCD 240X320
3.5" LCD 480x320
LED Matrix
7-Segment I2C Backpack

If you don't see the display you are using above, but there is a Adafruit GFX library for it, the program will still work. You will just need to fill out the dimensions and name of the library manually.

Features

  • Choose from all 86 compatible display sizes (or create a custom size)
  • Work in black and white or full rgb565 color spectrum
  • Easily create all graphics primitives included in Adafruits GFX library
  • Update, move, and scale graphics to your liking
  • Fix mistakes with undo or completely clear the scene
  • Optimize, and generate code for the Arduino IDE
  • Create and stylize basic text
  • Upload custom fonts or use all fonts included in adafruit library (Coming Soon)
  • Import previously generated code to continue where you left off (Coming Soon)
  • Upload images or bitmaps (Coming Soon)
  • Test changes live by streaming to your device (Coming Eventually)
  • Create multi-step animations (Coming Eventually)

Local Setup

Rust backend is currently not needed for the project to run locally.

For the frontend you must have nodejs+npm installed on your computer.

Backend (Rust)

cd backend
cargo run 

Frontend (Sveltekit)

cd frontend
npm install
npm run dev -- --open 

Known Issues

TODO

Contributing

If you have a display that is compatible with Adafruit GFX's library but is not included above you can contribute by adding it to 'frontend/src/displayToLib.json' in the following format:

  "[ScreenType][Resolution]":
    {
      "lib": "[AdafruitLibrary]",
      "res": "[Resolution(WxH)]",
      "details": "[DisplayType][DisplaySize][ExtraDetails(optional)]"
    }