ESP32-P4 Studio (ForgeUI Studio) is an open-source visual HMI designer, LVGL code generator, asset pipeline, and automated deployment environment built specifically for Espressif ESP32-P4 hardware running LVGL v9 and ESP-IDF.
The platform bridges browser-based drag-and-drop UI design with native embedded deployment. Layouts, widgets, styling, assets, and image resources are transformed into optimized LVGL C code, compiled locally using ESP-IDF, and deployed directly to physical ESP32-P4 hardware.
ForgeUI Studio exists to eliminate:
Manual coordinate calculations
Manual LVGL coding
Manual asset conversion
Manual CMake maintenance
Manual firmware integration
while preserving:
Native LVGL
Native ESP-IDF
Native C code
Native hardware performance
No runtime web framework is deployed onto the microcontroller.
Everything becomes pure embedded firmware.
Visual Canvas
โ
Component Tree
โ
LVGL Code Generator
โ
Asset Pipeline
โ
Generated C Sources
โ
Generated CMake Sources
โ
ESP-IDF Build
โ
ESP32-P4 Flash
โ
Physical Hardware Execution
ForgeUI Studio now includes a fully integrated offline LVGL v9 image asset pipeline.
Uploaded artwork can be converted, compiled, flashed, and rendered directly on physical ESP32-P4 hardware.
No cloud services are required.
All conversion occurs locally.
Location:
tools/lvgl/LVGLImage.py
Status:
PROVEN
Dependencies:
pypng
lz4
PNG Upload
โ
Asset Manager
โ
LVGLImage.py
โ
ARGB8888 Conversion
โ
Generated LVGL C Asset
โ
Firmware Assets/uploads
โ
Asset Registry
โ
assetSources[]
โ
Generated CMake
โ
LV_IMAGE_DECLARE(...)
โ
lv_image_set_src(...)
โ
Build & Flash
โ
Physical ESP32-P4 Rendering
โ PNG Upload
โ JPG Upload
โ SVG Upload
โ Drag & Drop Asset Import
โ Thumbnail Generation
โ Uploaded Asset Registry
โ Automatic LVGL Conversion
โ Automatic Asset Compilation
โ Automatic CMake Integration
โ Automatic LV_IMAGE_DECLARE Generation
โ Automatic lv_image_set_src Generation
โ ESP-IDF Compilation
โ Physical ESP32-P4 Rendering
Uploaded Asset
โ
LVGLImage.py
โ
Generated LVGL C Asset
โ
Firmware Assets/uploads
โ
Asset Registry
โ
assetSources[]
โ
Generated CMake
โ
Build & Flash
โ
ESP32-P4 Display
PROVEN
Theme Manager V2 โ PROVEN
Single Theme Source Architecture โ PROVEN
Fullscreen Theme Backgrounds โ PROVEN
Builder Theme Rendering โ PROVEN
Browser Preview Theme Rendering โ PROVEN
Physical P4 Theme Rendering โ PROVEN
AI Theme Pack โ PROVEN
Browser UI Builder โ PROVEN
Browser Preview โ PROVEN
Build & Flash โ PROVEN
Clean Build & Flash โ PROVEN
Detached ESP-IDF Export โ PROVEN
LVGLImage.py Integration โ PROVEN
PNG โ LVGL C Conversion โ PROVEN
Uploaded Asset Pipeline โ PROVEN
Automatic CMake Injection โ PROVEN
Automatic Asset Compilation โ PROVEN
Physical ESP32-P4 Image Rendering โ PROVEN
ForgeUI Studio supports exporting fully standalone ESP-IDF firmware projects directly from the visual editor.
Generated projects become independent of the Studio environment.
Exported projects open directly inside:
Visual Studio Code
ESP-IDF Extension
without requiring ForgeUI Studio.
Projects support:
idf.py reconfigure
idf.py build
idf.py flash
from a clean environment.
The Studio injects only:
90_Studio_Export.c
90_Studio_Export.h
into the runtime shell.
Everything else remains standard ESP-IDF.
ForgeUI Studio Canvas
โ
Generate Native LVGL Runtime
โ
Generate Asset Sources
โ
Generate CMake Sources
โ
Export Standalone ESP-IDF Project
โ
Open in VS Code
โ
idf.py build
โ
idf.py flash
โ
Successful ESP32-P4 Boot
Primary validation target:
Waveshare ESP32-P4-WIFI6-Touch-LCD-7B
ESP32-P4
1024 ร 600 Display
MIPI-DSI LCD
GT911 Touch Controller
LVGL v9
ESP-IDF v5.5.4
ESP-Hosted WiFi
Audio
RTC
SD Card
esp32p4-ui-studio/
โโโ studio/
โ โโโ React / Next.js UI Builder
โโโ firmware/
โ โโโ ForgeUI-One/
โ โโโ Native ESP-IDF Runtime
โโโ tools/
โ โโโ lvgl/
โ โโโ LVGLImage.py
โโโ docs/
โโโ START_FORGEUI_STUDIO.bat
โโโ START_FORGEUI_STUDIO_HIDDEN.vbs
โโโ STOP_FORGEUI_STUDIO.bat
โโโ README.md
โโโ LICENSE
โโโ THIRD_PARTY_LICENSES.md
โโโ 01_SPINE.md
C:\
โโโ ForgeUI-Exports\
Responsible for:
Visual Editing
Widget Management
Themes
Asset Management
LVGL Generation
Export Generation
Responsible for:
ESP-IDF Runtime
LVGL Runtime
Display Drivers
Touch Drivers
Audio
RTC
WiFi
SD Card
Generated UI Execution
The ESP32-P4 never runs:
React
HTML
CSS
JavaScript
Chakra UI
Everything becomes:
C
LVGL
ESP-IDF
The Studio exports:
Static LVGL Code
Static Assets
Static Firmware Artifacts
for maximum runtime performance.
Current widget support:
Text
Box
Image
Input
Textarea
NumberInput
Select
Button
Switch
Checkbox
Radio
Slider
Progress
CircularProgress
Canvas
โ
Preview
โ
Generated LVGL
โ
ESP32-P4 Hardware
Included themes:
Industrial Carbon
Brushed Steel
Reactor Hex
Terminal Green
Military Plate
Nordic Engineering
Nordic Ice
Nordic Frost
Nordic Slate
Nordic Night
Control Room
Cyber Teal Pro
Forge Orange
Carbon Red
OLED Black Pro
Clean Light Pro
Test Purple
Quantum Hex
AI Mesh
Neural Core
Quantum Flow
AI Nexus
Neon Horizon
Nebula Core
Singularity
Status:
PROVEN
ForgeUI Studio now supports two background rendering modes:
tile
fullscreen
Used by industrial textures:
Carbon Fiber
Brushed Steel
Hex Mesh
Blueprint Grid
Industrial Panel
Dark Noise
Rendering:
Repeated texture rendering
Builder
Browser Preview
LVGL Export
ESP32-P4
Used by AI and sci-fi themes:
AI Mesh
AI Nexus
Neural Core
Quantum Flow
Quantum Hex
Neon Horizon
Nebula Core
Singularity
Rendering:
Single 1024x600 hero image
Builder
Browser Preview
LVGL Export
ESP32-P4
Theme Manager
โ
Builder
โ
Browser Preview
โ
ForgeUILvglExport
โ
Generated LVGL C
โ
ESP32-P4 Hardware
Validated on:
Waveshare ESP32-P4-WIFI6-Touch-LCD-7B
Results:
โ Fullscreen hero backgrounds render correctly
โ Widgets render above backgrounds
โ Build & Flash successful
โ Clean Build & Flash successful
โ Theme Manager integration successful
โ Browser Preview parity achieved
โ Physical ESP32-P4 rendering proven
Status:
PROVEN
Theme definitions live in a single location:
studio/src/forgeui/preview/forgeThemeMap.ts
Current architecture:
FG_PREVIEW_PALETTES
โ
Theme Manager
โ
ForgeThemeContext
โ
Builder
โ
Browser Preview
โ
ForgeUILvglExport
โ
Generated LVGL
โ
ESP32-P4
Theme synchronization is automatically maintained across:
Theme Manager
Builder
Browser Preview
Generated LVGL
ESP32-P4 Hardware
Adding a theme to:
FG_PREVIEW_PALETTES
automatically:
โ Appears in Theme Manager
โ Appears in Browser Preview
โ Exports to LVGL
โ Flashes to ESP32-P4
Theme drift has been eliminated.
No duplicate palette definitions remain.
Start ForgeUI Studio
โ
Design Interface
โ
Upload Assets
โ
Preview Layout
โ
Build & Flash
โ
Test On Hardware
โ
Export Standalone ESP-IDF Project
โ
Deploy
Theme System V2 (PROVEN)
Fullscreen Hero Backgrounds (PROVEN)
AI Theme Pack (PROVEN)
Texture Pack V1 (PROVEN)
Builder โ Browser Preview Theme Sync (PROVEN)
LVGL Theme Export Pipeline (PROVEN)
ESP32-P4 Theme Rendering (PROVEN)
Theme Metadata V1
Theme Categories
Custom Theme Creation
Theme Import / Export
Theme Marketplace Concepts
Background Playground
Theme Randomiser
Animated Theme Effects
Builder โ Preview โ Hardware
Visual Parity Refinement
Image Scaling Refinement
Asset Cleanup Management
Asset Browser Improvements
Asset Categorisation
Template Expansion
Dashboard Templates
Industrial HMI Templates
Desktop Wrapper Investigation
Electron Packaging
Offline Installer
Future AI-Assisted UI Generation
Natural Language UI Generation
Theme Generator AI
Screen Generator AI
ESP32-P4 Studio is built upon the excellent open-source editor foundations originally created by Premier Octet.
The project has been extensively adapted and expanded for:
ESP32-P4
LVGL v9
ESP-IDF
Embedded HMI Development
Asset Pipelines
Automated Deployment
Original licensing and attribution remain preserved.
Scott Forster
ForgeUI Project
FORGEUI_FULLSCREEN_THEME_BACKGROUNDS_V1__P4_HERO_RENDERING_PROVEN__SINGLE_THEME_ARCHITECTURE_STABLE__2026-06-13
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "ESP32-P4 Studio",
"alternateName": "ForgeUI Studio",
"applicationCategory": "DeveloperApplication",
"operatingSystem": "Windows, Linux, macOS",
"targetPlatform": "Espressif ESP32-P4 RISC-V, Waveshare ESP32-P4-WIFI6-Touch-LCD-7B",
"programmingLanguage": "C, C++, TypeScript, Python",
"runtimePlatform": "ESP-IDF v5.5.4, LVGL v9",
"description": "Visual HMI designer, LVGL v9 code generator, local image asset compilation pipeline, and automated deployment environment for Espressif ESP32-P4 hardware.",
"features": [
"Offline ARGB8888 Image Conversion via tools/lvgl/LVGLImage.py",
"Single Source of Truth Theme Engine via forgeThemeMap.ts",
"Detached, portable standalone ESP-IDF project exporting",
"1-Click local build and flash over USB-UART"
],
"author": {
"@type": "Organization",
"name": "RTechAI"
},
"softwareVersion": "2.0.0",
"license": "https://opensource.org"
}