An open API service indexing awesome lists of open source software.

https://github.com/NicholasDrian/web_cad

A CAD engine targeting modern browsers
https://github.com/NicholasDrian/web_cad

Last synced: 8 months ago
JSON representation

A CAD engine targeting modern browsers

Awesome Lists containing this project

README

          


web_cad - A Light Weight Geometry Engine For Web Apps



What is It?

web_cad is a geometry engine built on top of WebGPU compute shaders. It is designed to be blazingly fast, light as a feather, and reliable as duct tape. Many of the core features are working, but there is still much to do.

The engine is written in Rust and WGSL, compiled to WASM and SPIR-V, and exposes a js API.

This engines goal is to port all heavy compute to the GPU, and keep all explicit geometry in VRAM. This frees up the RAM and leaves the CPU unblocked, as well as eliminating streaming between RAM and VRAM.

Done:


- Surface Sampler
- Curve Sampler
- Acceleration Structures

Coming:


- Ray Tracing
- Frustum Tracing
- Reparameterizing algos
- Higher level commands
- Materiality
- Stable API
- Optimization

Examples:


Click HERE to run hello cad


Click HERE to run hello surface


Click HERE to run hello camera


Click HERE to run hello bbh


Click HERE to view dev notes

Please Leave a ⭐