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

Cymbal defaults to bow and bell with a 1 m/s stick; Run button at the top of the panel

Deploy to GitHub Pages · #3 · push by owner · main · a9ca16b · .github/workflows/pages.yml ·
build 41sRaw log
Runner
Job build on ubuntu-latest
Checking out proof-of-concept/toy-instruments at a9ca16b1
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 a9ca16b1 (mochi checks out before the job starts)
actions/setup-node@v414s
▸ actions/setup-node@v4
Using cached actions/setup-node@v4 (49933ea5288c)
Attempting to download 22...
(node:22) [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/b71acb49-a5af-41c2-89da-c8ec60f3487e -f /mochi/temp/795bba98-8e5c-465d-a090-a1cfa777d438
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 test14s
▸ 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| 2.252 mm

 ✓ test/cymbal.test.ts (4 tests) 9574ms
   ✓ cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate  6906ms
   ✓ cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed  910ms
   ✓ cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating  1645ms
 ✓ test/string.test.ts (5 tests) 658ms
   ✓ solver > conserves energy without damping and balances it with damping and a hammer  346ms
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) 786ms
   ✓ drum > small centre press rings near the ideal membrane fundamental  445ms
   ✓ drum > mallet bounces off and energy balances  334ms
 ✓ test/hinge.test.ts (2 tests) 7ms

 Test Files  4 passed (4)
      Tests  14 passed (14)
   Start at  12:30:05
   Duration  12.53s (transform 336ms, setup 0ms, collect 427ms, tests 11.03s, environment 1ms, prepare 362ms)
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-CpnpU4JM.css    7.80 kB │ gzip:   2.29 kB
dist/assets/index-DoevCdQT.js   604.42 kB │ gzip: 160.97 kB
✓ built in 2.58s
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@v30s
▸ actions/upload-pages-artifact@v3
Using cached actions/upload-pages-artifact@v3 (56afc609e742)
▸ Archive artifact
▾ Archive artifact
./
./index.html
./assets/
./assets/index-DoevCdQT.js
./assets/worker-CUEgDGGF.js
./assets/index-CpnpU4JM.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