/ proof-of-concept / toy-instruments
Sign in
proof-of-concept / toy-instruments

Add WebGPU solver with a toggle; faster CPU solver

Deploy to GitHub Pages · #2 · push by owner · main · a78afe0 · .github/workflows/pages.yml ·
build 45sRaw log
Runner
Job build on ubuntu-latest
Checking out proof-of-concept/toy-instruments at a78afe0b
Container started from catthehacker/ubuntu:act-latest
▸ Post actions/setup-node@v4
(node:286) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Cleaning up the job container
actions/checkout@v40s
▸ actions/checkout@v4
Using mochi's built-in checkout (actions/checkout@v4)
proof-of-concept/toy-instruments is already checked out at a78afe0b (mochi checks out before the job starts)
actions/setup-node@v418s
▸ actions/setup-node@v4
Downloading actions/setup-node@v4 (49933ea5288c)
Attempting to download 22...
(node:21) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Bad credentials
Falling back to download directly from Node
Acquiring 22.23.3 - x64 from https://nodejs.org/dist/v22.23.3/node-v22.23.3-linux-x64.tar.gz
Extracting ...
[command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /mochi/temp/09e33b31-ebe6-42cf-9ee9-f30fad806065 -f /mochi/temp/9c87a00e-774e-4aae-9b6d-42c589760a1f
Adding to the cache ...
Done
▾ Environment details
node: v22.23.3
npm: 10.9.9
yarn: 
WARNING: Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Run npm ci4s
▸ Run npm ci

added 62 packages, and audited 63 packages in 4s

15 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 moderate, 2 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
Run npm test13s
▸ Run npm test

> toy-instruments@0.1.0 test
> vitest run


 RUN  v3.2.7 /mochi/workspace

stdout | test/cymbal.test.ts > cymbal lattice > bending energy matches the plate (nu = 1/3) for bending, doming and twisting
cylinder bending energy / plate 0.9997
sphere bending energy / plate 0.9994
saddle bending energy / plate 0.9994
twist bending energy / plate 0.9994

stdout | test/cymbal.test.ts > cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate
free (2,0) measured 67.4 Hz, ideal 69.8 Hz

stdout | test/cymbal.test.ts > cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed
contact samples 24 peak N 865 balance 7.47e-3

stdout | test/cymbal.test.ts > cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating
mean y 0.0000 mm, max |y| 8.725 mm

 ✓ test/cymbal.test.ts (4 tests) 9060ms
   ✓ cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate  6698ms
   ✓ cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed  929ms
   ✓ cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating  1342ms
 ✓ test/string.test.ts (5 tests) 550ms
stdout | test/drum.test.ts > drum > small centre press rings near the ideal membrane fundamental
f01 measured 196.3 ideal 193.8

stdout | test/drum.test.ts > drum > mallet bounces off and energy balances
contact ms 8.58 peak N 22.0 balance 0.000003618597862471249

 ✓ test/drum.test.ts (3 tests) 819ms
   ✓ drum > small centre press rings near the ideal membrane fundamental  457ms
   ✓ drum > mallet bounces off and energy balances  355ms
 ✓ test/hinge.test.ts (2 tests) 9ms

 Test Files  4 passed (4)
      Tests  14 passed (14)
   Start at  12:27:50
   Duration  11.93s (transform 363ms, setup 0ms, collect 493ms, tests 10.44s, environment 1ms, prepare 340ms)
Run npm run build7s
▸ Run npm run build

> toy-instruments@0.1.0 build
> tsc --noEmit && vite build

vite v7.3.7 building client environment for production...
transforming...
✓ 31 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.69 kB │ gzip:   0.42 kB
dist/assets/worker-CUEgDGGF.js   41.40 kB
dist/assets/index-BYx13nzF.css    7.77 kB │ gzip:   2.28 kB
dist/assets/index-B-imhdRe.js   604.20 kB │ gzip: 160.91 kB
✓ built in 2.65s
actions/configure-pages@v50s
▸ actions/configure-pages@v5
Using mochi's built-in configure-pages (actions/configure-pages@v5)
This site will be served at https://toy-instruments--proof-of-concept.vault1-sites.magland.org/
actions/upload-pages-artifact@v31s
▸ actions/upload-pages-artifact@v3
Downloading actions/upload-pages-artifact@v3 (56afc609e742)
▸ Archive artifact
▾ Archive artifact
./
./index.html
./assets/
./assets/worker-CUEgDGGF.js
./assets/index-B-imhdRe.js
./assets/index-BYx13nzF.css
▸ Upload artifact
Using mochi's built-in upload-artifact (actions/upload-artifact@v4)
Uploading artifact github-pages (1 file, 667136 bytes)
Artifacts
github-pages651.5 KB

Artifacts are tar archives, and are removed when the run is pruned.

↑↓ move↵openescclose