123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- {
- "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"
- }
-
- }
- }
- }
|