Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coderwelsch/wled-2d-pixel-drawer
Vuejs 3 frontend to draw and control 2D-Pixel-Matrices via WIFI (locally)
https://github.com/coderwelsch/wled-2d-pixel-drawer
2d frontend led pixel-art pixel-matrix vuejs vuejs3 web wled
Last synced: about 12 hours ago
JSON representation
Vuejs 3 frontend to draw and control 2D-Pixel-Matrices via WIFI (locally)
- Host: GitHub
- URL: https://github.com/coderwelsch/wled-2d-pixel-drawer
- Owner: Coderwelsch
- Created: 2025-01-31T13:18:12.000Z (11 days ago)
- Default Branch: main
- Last Pushed: 2025-02-08T21:46:54.000Z (2 days ago)
- Last Synced: 2025-02-08T22:27:16.708Z (2 days ago)
- Topics: 2d, frontend, led, pixel-art, pixel-matrix, vuejs, vuejs3, web, wled
- Language: Vue
- Homepage:
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![teaser.png](docs/teaser.png)
# WLED 2D Pixel Matrix Drawer
> Vue.js 3 frontend to draw and control wled 2d pixel matrices projects via wled’s json api.
---
The idea behind this project is to run this frontend on an ESP32 (or ESP8266) chip during the captive portal of wled. This way you can draw on the pixel matrix directly when a user connects to the WLED-AP device.
This project is a git submodule of my other forked repo [WLED-With-2D-Pixel-Drawer](https://github.com/Coderwelsch/WLED-With-2D-Pixel-Drawer) where this frontend is shown on the esp captive portal (when you connect to the esp wifi).
## Features
- simple canvas to draw pixel matrix
- controls for brightness and ip / hostname of the wled device
- frontend updates esp via wled json api![frontend.png](docs/frontend.png)
## Installation
### Clone Repository
```bash
git clone [email protected]://github.com/Coderwelsch/wled-2d-pixel-drawer.gitcd wled-2d-pixel-drawer
yarn install
cp .env.example .env
```### Configure Environment Variables
Copy the `.env.example` file to `.env` and configure the environment variables
according to your setup and amount of pixels etc.```bash
# Disables the brightness input field
VITE_DISABLE_BRIGHTNESS_CHANGE=false
VITE_DEFAUT_BRIGHTNESS=50# Disables the ip / hostname input field
VITE_DISABLE_HOSTNAME_CHANGE=false
# Default hostname of the ESP32 when running on the esp chip in the captive portal
VITE_DEFAULT_HOSTNAME=4.3.2.1# The width and height of the matrix in pixels
VITE_MATRIX_WIDTH=30
VITE_MATRIX_HEIGHT=30
```## Build Project
The build will output only one big html file containing all the css and js code inlined for easier deployment on the esp chip.
To build the project run:
```bash
yarn build
```---
## Credits
Thanks for the awesome work of [yoksel](https://github.com/yoksel) and her beautiful svg animation skills. The headline animation is taken from her [Animated text with Snapsvg](https://codepen.io/yoksel/pen/yNJYyE) codepen project.
[WLED](https://github.com/Aircoookie/WLED) is also one of the coolest open source projects I know. Thanks to the developers for their great work!