/ concept-collection / turing-sphere
Sign in
concept-collection / turing-sphere
37 lines · 1.0 KBCodeBlameHistory
2 "name": "turing-sphere",
3 "version": "0.1.0",
4 "description": "Live reaction-diffusion (Turing patterns) on the sphere, spectral spherical-harmonic solver on WebGPU",
5 "type": "module",
84005eeMake the benchmark command run on older NodeJeremy Magland 6 "engines": {
7 "node": ">=22.6"
8 },
10 "scripts": {
11 "dev": "vite",
12 "build": "tsc --noEmit && vite build",
35d91faDelete the TypeScript solver; the .m models are the only implementationJeremy Magland 13 "test:node": "vite-node scripts/test-node.ts",
2dedc35turing-sphere: reaction-diffusion on the sphere, spectral solver on WebGPUJeremy Magland 14 "test:gpu": "vite build && node scripts/test-gpu.mjs",
15a77e2Add a desktop WebGPU benchmark and show its command in the appJeremy Magland 15 "test": "npm run test:node && npm run test:gpu",
b689087Benchmark the WGSL transforms against upstream SHTNSJeremy Magland 16 "bench": "vite-node scripts/bench.ts",
17 "bench:sht": "vite-node scripts/bench-sht.ts",
18 "bench:native": "node scripts/compare-native.mjs"
20 "dependencies": {
f168295Movie export: recompute the run from t = 0 into a captioned MP4Jeremy Magland 21 "mp4-muxer": "^5.2.2",
61e12f1Write the solver in MATLAB and compile it to WebGPUJeremy Magland 22 "numbl": "file:../../numbl",
24 },
15a77e2Add a desktop WebGPU benchmark and show its command in the appJeremy Magland 25 "optionalDependencies": {
26 "webgpu": "^0.4.0"
27 },
29 "@types/node": "^26.1.1",
30 "@types/three": "^0.185.1",
31 "@webgpu/types": "^0.1.44",
32 "puppeteer-core": "^23.0.0",
33 "typescript": "^5.5.0",
35 "vite-node": "^6.0.0"
moveopenescclose