Skip to content

Instantly share code, notes, and snippets.

@darkwave
Last active December 26, 2015 18:39
Show Gist options
  • Save darkwave/7196133 to your computer and use it in GitHub Desktop.
Save darkwave/7196133 to your computer and use it in GitHub Desktop.
An experimental "scene format" using json
[
{
"sceneName" : "Merlino",
"elements" :
[
{
"id": "merlin",
"scale": 1,
"transform": {
"posY": 16.31540298461914,
"posX": -10.32935905456543,
"posZ": 0,
"rotX": -0,
"rotY": -0,
"rotZ": 1.43
},
"src": "http://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Nuremberg_chronicles_-_Merlin_%28CXXXVIIIr%29.jpg/455px-Nuremberg_chronicles_-_Merlin_%28CXXXVIIIr%29.jpg"
}
]
},
{
"sceneName" : "Lucy GRANDE",
"elements" :
[
{
"id": "lucy grande",
"scale": 0.8,
"transform": {
"posY": 16.31540298461914,
"posX": 0,
"posZ": 0,
"rotX": -0,
"rotY": -0,
"rotZ": 0
},
"src": "http://laboratorio.tv/img/neko_hero.png"
},
{
"id": "lucy",
"scale": 1,
"transform": {
"posY": 16.31540298461914,
"posX": -10.32935905456543,
"posZ": 0,
"rotX": -0,
"rotY": -0,
"rotZ": 1.43
},
"src": "https://gist.github.com/darkwave/6649726/raw/1c4411c04951eba50b0185ad1edb8ae021fa6ca6/lucy.js"
}
]
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment