LIVE WEB PLAYER
Loading WebAssembly…See it respond.
The same raylib runtime, compiled to WebAssembly. Load this example, inject MQTT messages and watch its published events.
MQTT I/O
Waiting for runtime…
The browser requires a user action before the scene is loaded. Click Load demo scene first. MQTT is emulated and never leaves this page. Shaders are disabled in the web build; GPIO is hardware-only.
Draws a texture from media/assets/ into a rectangle.
Configuration
| Field | Description |
|---|---|
type | image |
file | PNG/JPG/BMP asset filename |
pos | Top-left position |
size | Output width and height |
layer | Draw order |
Copy-and-paste JSON
{
"type": "image",
"id": "logo",
"pos": [60, 40],
"size": [320, 180],
"file": "logo.png",
"layer": 2
}MQTT
Image has no file-switch command. It supports common visibility control:
ergs/rpi01/visible/logo OFF
ergs/rpi01/visible/logo ON