[x3d-public] Fwd: X3D JSON encoding: .x3d to .json stylesheet, examples available for continued work

John Carlson yottzumm at gmail.com
Sun Nov 15 21:06:34 PST 2015



> Begin forwarded message:
> 
> From: John Carlson <yottzumm at gmail.com>
> Date: October 29, 2015 at 12:37:38 AM CDT
> To: Don Brutzman <brutzman at nps.edu>
> Cc: X3D Graphics public mailing list <x3d-public at web3d.org>
> Subject: Re: [x3d-public] X3D JSON encoding: .x3d to .json stylesheet, examples available for continued work
> 
> 
>> On Oct 28, 2015, at 3:31 PM, Don Brutzman <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>> 
>> 
>> Am hoping we might sketch out some javascript web author pseudocode, looking at how someone who uses JSONparse might load and modify a Dodecahedron, HelloWorld, or other simple scene graph proposed earlier.
> 
> 
> https://github.com/coderextreme/X3DJSONLD/blob/master/Pseudo.md <https://github.com/coderextreme/X3DJSONLD/blob/master/Pseudo.md> is the location of my pseudocode for X3DJSONLD.  I don’t use JSON.parse, I use   jQuery’s getJSON, but I have routines that take a JSON object which can be returned from JSON.parse.
> 
>> 
>> sounds great...  is it runnable via a web page somewhere? or do others have to first install it locally?
> 
> You can copy the files X3DJSONLD.js and index.html from the distribution to the same level as examples/ on you web server under content/, or you can run a web server from the distribution.   use
> 
> git clone https://github.com/coderextreme/X3DJSONLD <https://github.com/coderextreme/X3DJSONLD>
> 
> to retrieve the distribution.  I’d like to add file completion at some point.  Forks, pull requests and additions are welcome!  I have tried to make the code independent of node or any server-side stuff except for the examples folder.
> 
> John
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20151115/6d356026/attachment.html>


More information about the x3d-public mailing list