[X3D-Ecosystem] X3D JSON with WebGPU
John Carlson
yottzumm at gmail.com
Sat Feb 28 20:11:29 PST 2026
My version currently generated what looks to be correct X3D JSON (I added
metadata after the generation), and is validated with hyperjump-io. It
does say the json is invalid still. I’m working on making the errors
easier to read with hyperjump-io/json-schema-errors soon. I kind of miss
the familiar Ajv. There’s an outstanding WIP pull request to handle oneOf
subschemas, so I’m waiting
https://github.com/hyperjump-io/json-schema-errors/pull/159
I will try to switch from vite to something that can run on a static site,
I don’t know if vite has that feature or not.
The conversion of the JavaScript processing looks like it went well without
lots of pain, so that’s a positive!
John
On Sat, Feb 28, 2026 at 3:24 AM John Carlson <yottzumm at gmail.com> wrote:
> Pretty great progress, Don. I'm not sure if I showed this widely earlier,
> but here's a picture of a mostly vibe-coded app (it struggled early)
> which shows JSON (not X3D or glTF) rendered with WebGPU: When you edit
> the JSON, the scene updates automatically! The main problems seem to be
> that this is not particularly adequate for the archive, since it requires
> React, Three and especially Vite. I believe this link is the project, but
> I may have made some tweaks, especially to the depth and content of the
> Text node. https://claude.ai/share/636ed092-ace5-4331-9222-4d0d85e80ada
> (note that you need to press the share/publish button near the top of the
> web page to publish a project, looking forward to yours!)
>
> I do admit I have not tried for "X3D JSON" or "schema validated" yet. I
> do note your progress at adding metadata, and I take that under advisement.
>
> This is the version of the app I currently have in my repository:
>
>
> https://github.com/coderextreme/my-second-react-three-app/blob/main/package.json
>
> John
>
> [image: image.png]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20260228/569a269b/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 134671 bytes
Desc: not available
URL: <http://web3d.org/pipermail/x3d-ecosystem_web3d.org/attachments/20260228/569a269b/attachment-0001.png>
More information about the X3D-Ecosystem
mailing list