threers 0.0.4

Drop-in three.js replacement for Rust and WebAssembly (wgpu) — THREE.* API, scene graph, PBR, post-fx, mesh BVH, CSG, an OpenSCAD front end with a watertight exact-CSG kernel, headless render, and native media codecs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Alternate renderers. The primary `Renderer` lives in `crate::renderer` and
//! uses wgpu. This module exposes lightweight DOM-overlay renderers (CSS2D /
//! CSS3D / SVG) — their drawing surface is HTML, so on native they are
//! data-only descriptors that an integrator can pump into web_sys when
//! compiled for wasm.

mod css2d;
mod css3d;
mod svg;

pub use css2d::Css2dRenderer;
pub use css3d::Css3dRenderer;
pub use svg::SvgRenderer;