Skip to content

Ciantic/sdf-to-stl-ts

Repository files navigation

SDF to STL (deno)

This is currently almost direct translation of (small part) deadsy's sdfx to TypeScript. License of the original work is MIT with Jason T. Harris.

I wanted to try if it's possible to build similar toolset for TypeScript. One of the goals is to have an UI next to an editor, which is readily usable from a static webpage.

Currently this can render sphere with same algorithm as in Deadsy's sdfx. See stl.test.ts.

Roadmap

No plans to go further at this point. TypeScript alone is not a good tool for this, but combination of Rust WASM and TypeScript could be a better plan. I will try to implement the marching cubes (octtree) with Rust next.

About

SDF to STL/Mesh (TypeScript)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published