Use the Three.js 3D library in Blazor WebAssembly. SpawnDev.BlazorJS.THREE uses SpawnDev.BlazorJS for Javascript interop. JSObjects are used to wrap Three.js classes.
This project was largely auto-generated using Three.js TypeScript Declarations GitHub repo: three-types/three-ts-types, and then filled in enough to get the current demos running.
- Basic Demo - Draws a 3D spinning cube
- AR Cube Demo - Draws a 3D spinning cube using WebXR
immersive-armode. (Quest 3 tested.)