Modo Creador & Validador 3D
Sube modelos .glb / .gltf desde tu PC para auditar su firma binaria (Magic Bytes + SHA-256) o prueba escenas interactivas Three.js como la Consola DJ Pioneer en un entorno sandbox seguro.
Auditoría Anti-Malware para Activos 3D
El servidor inspecciona extensión única, límite de 10 MB, firma binaria glTF v2 (Magic Bytes)
y bloquea polyglots, dobles extensiones (.php.glb) y URIs externas peligrosas.
- Public ID -
- Extensión / Tamaño -
-
Huella SHA-256
- -
URL Segura Generada
-
Payload AST Craft.js
{
"nodes": {
"ROOT": {
"type": {
"resolvedName": "Container"
},
"nodes": [
"node_dj_community_widget"
],
"props": {
"styleData": {
"base": {
"width": "100%",
"display": "flex",
"padding": "0px",
"flexDirection": "column"
},
"mobile": {}
}
},
"custom": {
"displayName": "DJ Console Wrapper"
},
"isCanvas": true
},
"node_dj_community_widget": {
"type": {
"resolvedName": "CommunityWidget"
},
"nodes": [],
"props": {
"sceneUrl": "/community/runner/consola-dj-3d-pioneer/",
"styleData": {
"base": {
"width": "100%",
"height": "620px",
"overflow": "hidden",
"borderRadius": "16px"
},
"mobile": {
"height": "460px"
}
},
"interactive": true,
"propsSchema": [
{
"key": "backgroundColor",
"type": "color",
"label": "Background Color",
"default": "#06090e",
"tooltip": "Color de fondo del escenario 3D."
},
{
"key": "bpm",
"max": 180.0,
"min": 60.0,
"step": 1.0,
"type": "number",
"label": "BPM",
"default": 128.0,
"tooltip": "Tempo maestro (60–180 BPM)."
},
{
"key": "track1Url",
"type": "string",
"label": "Track 1 URL",
"default": "",
"tooltip": "URL de audio para Deck 1.",
"placeholder": "https://... o /media/track1.mp3"
},
{
"key": "track2Url",
"type": "string",
"label": "Track 2 URL",
"default": "",
"tooltip": "URL de audio para Deck 2.",
"placeholder": "https://... o /media/track2.mp3"
}
],
"widgetProps": {
"bpm": 128,
"track1Url": "",
"track2Url": "",
"backgroundColor": "#3b0710"
},
"componentName": "Pioneer DJ Set",
"componentSlug": "consola-dj-3d-pioneer"
},
"custom": {
"displayName": "Pioneer DJ Set"
},
"parent": "ROOT",
"isCanvas": false
}
}
}
Dependencias de Código del Componente
Mientras Plasmic usa registerComponent(Comp, { props }) conectado a un app-host local por CLI,
Kumara lee props_schema desde base de datos y sincroniza en tiempo real vía KUMARA_WIDGET_PROPS.
/community/runner/consola-dj-3d-pioneer/
Motor interactivo 2D/3D + AudioContext con scratch de vinilo, VU meters FFT y respuesta KUMARA_WIDGET_PROPS.
frontend_craft/src/components/editor/primitives/three/CommunityWidget.jsx
Resuelve dynamicBindings ⚡ y sincroniza props hacia el iframe vía postMessage.
frontend_craft/src/components/editor/settings/CommunityWidgetSettings.jsx
Genera dinámicamente <ComponentName> props usando PropertyControl y ColorPickerModal.
Esquema Declarativo Activo (props_schema)
[
{
"key": "backgroundColor",
"type": "color",
"label": "Background Color",
"default": "#06090e",
"tooltip": "Color de fondo del escenario 3D."
},
{
"key": "bpm",
"max": 180.0,
"min": 60.0,
"step": 1.0,
"type": "number",
"label": "BPM",
"default": 128.0,
"tooltip": "Tempo maestro (60–180 BPM)."
},
{
"key": "track1Url",
"type": "string",
"label": "Track 1 URL",
"default": "",
"tooltip": "URL de audio para Deck 1.",
"placeholder": "https://... o /media/track1.mp3"
},
{
"key": "track2Url",
"type": "string",
"label": "Track 2 URL",
"default": "",
"tooltip": "URL de audio para Deck 2.",
"placeholder": "https://... o /media/track2.mp3"
}
]
Comparativa: Plasmic registerComponent vs. Kumara CommunityWidget
// 1) En docs.plasmic.app (App Host local requerido):
registerComponent(PioneerDJSet, {
name: 'PioneerDJSet',
props: { backgroundColor: { type: 'color', defaultValue: '#3b0710' }, bpm: 'number' }
});
// 2) En Kumara Studio (Zero-CLI, Sandbox + Dynamic Values ⚡):
// CommunityWidgetSettings.jsx lee props_schema y envía postMessage -> KUMARA_WIDGET_PROPS