├── .github └── workflows │ └── deploy-page.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── index.html ├── package-lock.json ├── package.json ├── src ├── app.ts ├── arcball_camera.d.ts ├── compute_num_verts.wgsl ├── compute_vertices.wgsl ├── compute_voxel_values.wgsl ├── exclusive_scan.ts ├── exclusive_scan_add_block_sums.wgsl ├── exclusive_scan_prefix_sum.wgsl ├── exclusive_scan_prefix_sum_blocks.wgsl ├── ez_canvas_controller.d.ts ├── marching_cubes.ts ├── mark_active_voxel.wgsl ├── mc_case_table.ts ├── push_constant_builder.ts ├── render_mesh.wgsl ├── stream_compact_ids.ts ├── stream_compact_ids.wgsl ├── util.ts ├── volume.ts └── wgsl.d.ts ├── tsconfig.json └── webpack.config.js /.github/workflows/deploy-page.yml: -------------------------------------------------------------------------------- 1 | name: Deploy App 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | 8 | jobs: 9 | build: 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v4 13 | - uses: actions/setup-node@v4 14 | with: 15 | node-version: "latest" 16 | 17 | # Add plausible analytics, curious how many people 18 | # visit each demo 19 | - name: Add Stats 20 | run: | 21 | sed -i.bk "s/<\/body>/