https://github.com/zalo/tetform
Bake Tetrahedral Meshes in your browser
https://github.com/zalo/tetform
finite-element-methods physx tetrahedral-meshing
Last synced: 9 months ago
JSON representation
Bake Tetrahedral Meshes in your browser
- Host: GitHub
- URL: https://github.com/zalo/tetform
- Owner: zalo
- License: mit
- Created: 2023-12-29T03:02:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-29T03:08:16.000Z (over 2 years ago)
- Last Synced: 2025-01-14T23:40:01.572Z (over 1 year ago)
- Topics: finite-element-methods, physx, tetrahedral-meshing
- Language: JavaScript
- Homepage: https://zalo.github.io/TetForm/
- Size: 4.11 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [TetForm](https://zalo.github.io/TetForm/)
Generate Tetrahedral FEM Meshes in your browser using [physx-js-webidl](https://github.com/fabmax/physx-js-webidl/)!
This project is largely a toy/proof of concept; meant to explore TetMesh Generation in the browser for https://github.com/zalo/TetSim/
# Building
This demo can either be run without building (in Chrome/Edge/Opera since raw three.js examples need [Import Maps](https://caniuse.com/import-maps)), or built with:
```
npm install
npm run build
```
After building, make sure to edit the index .html to point from `"./src/main.js"` to `"./build/main.js"`.
# Dependencies
- [physx-js-webidl](https://github.com/fabmax/physx-js-webidl/) (Tetrahedral Meshing Backend)
- [three.js](https://github.com/mrdoob/three.js/) (3D Rendering Engine)
- [esbuild](https://github.com/evanw/esbuild/) (Bundler)