A pure WebGL 2.0 digital human render engine with zero runtime dependencies.
npm install
npm run dev
# Open http://localhost:8080/demo/index.htmlnpm run dev
# Main demo: http://localhost:8080/demo/index.html
# Streaming demo: http://localhost:8080/demo/streaming.htmlnpm run build
npm run previewsrc/core/— WebGL2 context, state cache, buffer/shader/render-target wrapperssrc/math/— Vec2/3/4, Mat3/4, Quat, DualQuat (no external math lib)src/renderer/— ForwardRenderer (functional), Deferred/PostProcess/ShadowMap (scaffolded)src/asset/— glTF 2.0 loadersrc/scene/— Node, Camera, Light, Charactersrc/sdk/— Public OpenHuman API
Open /demo/index.html in a browser (served from public/demo).
The demos now run through Vite with vanilla JavaScript entry modules:
public/demo/index.htmlloadsdemo/index.jspublic/demo/streaming.htmlloadsdemo/streaming.js
- Zero runtime dependencies
- WebGL 2.0 primary target
- Performance-first: no allocations in hot loops, all GL state via StateCache