{ "extends": "proxy/aframe/ascene.vwf", "properties":{}, "children": { "fog": { "extends": "proxy/aframe/aSceneFogComponent.vwf", "type": "component", "properties": { "fogType": "linear", "fogColor": "#ECECEC", "far": 20, "near": 0 } }, "floorTexture": { "extends": "proxy/aframe/a-asset-image-item.vwf", "properties": { "itemID": "bg2", "itemSrc": "/defaults/assets/checker.jpg" } }, "newSky":{ "extends": "proxy/aframe/aentity.vwf", "children":{ "skyshader":{ "extends": "proxy/aframe/app-skyshader-component.vwf" } } }, "groundPlane": { "extends": "proxy/aframe/aplane.vwf", "properties": { "height": "50", "width": "50", "rotation": [ -90, 0, 0 ] }, "children": { "material": { "extends": "proxy/aframe/aMaterialComponent.vwf", "properties": { "wireframe": false, "src": "#bg2", "repeat": "10 10" } } } }, "myLight": { "extends": "proxy/aframe/alight.vwf", "properties": { "type": "point", "color": "white", "position": [ 0, 10, 5 ], "rotation": [ 0, 0, 0 ] } }, "spaceText": { "extends": "proxy/aframe/atext.vwf", "properties": { "value": "Virtual World Framework & A-Frame & OSC", "color": "#2b5d83", "position": [ -2, 2.5, -3 ] } }, "cube": { "extends": "proxy/aframe/abox.vwf", "properties": { "position": "0 1 -3", "rotation": "0 0 0", "depth": 1, "height": 1, "width": 1 }, "children": { "material": { "extends": "proxy/aframe/aMaterialComponent.vwf", "properties": { "color": "#3c7249" } }, "sphere": { "extends": "proxy/aframe/asphere.vwf", "properties": { "position": "0 2 0", "rotation": "0 0 0", "radius": 0.4 }, "children": { "material": { "extends": "proxy/aframe/aMaterialComponent.vwf", "properties": { "color": "#3c7249" } } } } } }, "oscLang":{ "extends": "proxy/ohm/node.vwf", "properties":{ "osc": true, "grammar": null, "semantics": null, "ohmLang": "parseOSC {\n all = address \":\" props\n address = (\"/\" addr)*\n addr = ~(\"/\") propSingle\n props \n = propSingle row -- single\n | \"rgb\" row -- rgb\n | propSingle number -- prop\n row = \"[\" col rep \"]\"\n rep = (\",\" col)*\n col = colChar*\n colChar = ~(\"[\" | \",\" | \"]\") number\n propSingle = ~(\"rgb\") letter*\n number (a number)\n = digit* \".\" digit+ -- fract\n | digit+ -- whole\n }\n" }, "methods":{ "initLang": {}, "addOperationLang": {}, "getOSC":{ "parameters":["msg"] }, "parseOSC":{ "parameters":["msg"] }, "setPropsFromOSC":{ "parameters":["res"] } }, "scripts":{ "source": "osclang.js" } } } }