Percussive action with 3D physics.
https://www.freecodecamp.org/news/build-a-pwa-from-scratch-with-html-css-and-javascript/
https://www.npmjs.com/package/vite-plugin-pwa
https://github.com/antfu/vite-plugin-pwa
https://vite-plugin-pwa.netlify.app/guide/
https://firt.dev/pwa-design-tips/#notch-and-iphone-x-support
Blue: #3778AF
In node_modules/@enable3d/ammo-physics/dist/physics.js
on line 18
import { createHACDShapes, createHullShape, createTriMeshShape, createVHACDShapes, iterateGeometries } from './three-to-ammo';
https://github.com/mrdoob/three.js/blob/master/examples/physics_ammo_volume.html
- Start project with
yarn vite -host
instead of justyarn vite
. - Connect iPhone to Macbook with cable.
- System Preferences > Network > IP Address, 10.0.1.3 for example.
- iPhone Safari, go to URL with port, http://10.0.1.3:5173
- Macbook Safari, Develop > [Phone name] > [IP number]