[X3D-Ecosystem] Thought I’d drop this

John Carlson yottzumm at gmail.com
Sun Sep 15 08:30:58 PDT 2024


JSONverse 2.0 dropped with websockets (as well as http longpolling).  Next
is to figure out how to use WebTransport (for HTTP/3)

Enjoy!

This starts the server on port 8088:

npx x3d-jsonverse at latest

If you get an address binding issue, set the X3DJSONPORT environmental
variable (you can run multiple servers on the same machine).

If people are really interested, I can send my apache configuration for
websockets.

Thanks!

John Carlson

On Fri, Sep 13, 2024 at 3:24 PM John Carlson <yottzumm at gmail.com> wrote:

> https://www.npmjs.com/package/x3d-jsonverse
>
> You may have seen this in a video titled JSONverse recently.
>
> This is a personal development environment (coined by TjDevries) for doing
> X3D client-server side code development.  You can also collaborate by using
> ProxyPass in Apache2 web server.
>
> Installation instructions are on the GitHub link.
>
> This is much like running a Python server or a Java Server to serve static
> data, but instead of that, provides for reviews by several people.  Plus
> there’s a JavaScript message back bone on the server.
>
>
> This isn’t as fancy as X3DOM editor or X_ITE, but it does have an
> advantage in one place, model sharing.  That message we’re targeting
> different web browsers for each encoding, each binding, each X3D Editor and
> each X3D Browser.  Or all in one browser in separate tabs. This isn’t a
> tool integrator for all 3D formats, just X3D and .glb currently.  .glTF
> remains untested.
>
> Technologies currently used:
>
> * We use X_ITE, realizing it and sunrize are taking a slightly different
> path.  We intend to collaborate with the X_ITE and sunrize team, but
> haven’t heard back.
>
> * we use node.js for development.
>
> * We use socket.io and http with express for networking.  https should be
> able to be used with an Apache front end.
>
> * we use any web browser (Maybe not the old ones).
>
> * when you load the link in a web browser, my sample 3D model appears, and
> you can drag the letters to change parameters.
>
> * If you put a link in the text field and ENTER is typed , the link will
> be sent to all connected clients.
>
> * If you put JSON in the text area and press enter, the JSON will be
> rendered in all connected web browsers.  But the views can be different
> until the next publish.
>
> If you type text, it will be sent to all connected clients with an alias.
>
> I hope that I can develop the code well enough that it can also be used in
> FreeWRL, CGE and X3D. Pull requests welcome!
>
> Want to see your X3D JSON published to all encodings, all bindings, etc?
> Eventually we’ll get there.  A lot of it is already present in X3DJSONLD!
>
> Is this X3D-Edit?  Maybe!  Does X3D-Edit support producing binding code?
> We hope to get there.
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20240915/b2b76bd2/attachment.html>


More information about the X3D-Ecosystem mailing list