Written with three.js.
Dev:
# install deps
yarn
# run dev.js esbuild watcher
yarn start
# visit localhost:8080 (separate terminal)
npx http-server
Build:
# minified esbuild
yarn build
Both yarn start
and yarn build
create a public/out.js
bundle.
public/
- static html/css + dev & build outputindex.html
- simple markupstyle.css
- simple stylesout.js
- bundle file fromyarn start
oryarn build
src/
- js to be bundledmain.ts
- entry for index.htmlPath3.ts
- helper Curve class for TubeGeometry