Expand description
Build the effects preview page.
Embeds the deformation engine โ compiled to WebAssembly โ into
preview/index.html, and writes the result. The page calls it directly, so
the mesh you watch bend in a browser is the one warp::mesh_part builds for
a real window. A reimplementation in JavaScript would drift the first time
either side changed, and the drift would be invisible because the page would
still bend something plausible.
Driven by dev/preview, which builds the wasm first.
dev/preview && xdg-open crates/effects/preview/preview.htmlThe binary is effects-preview rather than preview; Cargo.toml says
why.