Swift
Add the app icon, case images and sounds.
Andy Gao888849d65546
diff --git a/Assets/AppIcon.icns b/Assets/AppIcon.icnsnew file mode 100644index 0000000..4fba6ffBinary files /dev/null and b/Assets/AppIcon.icns differdiff --git a/Assets/CaseFront.png b/Assets/CaseFront.pngnew file mode 100644index 0000000..6d84cf5Binary files /dev/null and b/Assets/CaseFront.png differdiff --git a/Assets/CaseLid/lid-00.png b/Assets/CaseLid/lid-00.pngnew file mode 100644index 0000000..b24ee38Binary files /dev/null and b/Assets/CaseLid/lid-00.png differdiff --git a/Assets/CaseLid/lid-01.png b/Assets/CaseLid/lid-01.pngnew file mode 100644index 0000000..378e846Binary files /dev/null and b/Assets/CaseLid/lid-01.png differdiff --git a/Assets/CaseLid/lid-02.png b/Assets/CaseLid/lid-02.pngnew file mode 100644index 0000000..fa21ee5Binary files /dev/null and b/Assets/CaseLid/lid-02.png differdiff --git a/Assets/CaseLid/lid-03.png b/Assets/CaseLid/lid-03.pngnew file mode 100644index 0000000..699324dBinary files /dev/null and b/Assets/CaseLid/lid-03.png differdiff --git a/Assets/CaseLid/lid-04.png b/Assets/CaseLid/lid-04.pngnew file mode 100644index 0000000..8856d90Binary files /dev/null and b/Assets/CaseLid/lid-04.png differdiff --git a/Assets/CaseLid/lid-05.png b/Assets/CaseLid/lid-05.pngnew file mode 100644index 0000000..98af179Binary files /dev/null and b/Assets/CaseLid/lid-05.png differdiff --git a/Assets/CaseLid/lid-06.png b/Assets/CaseLid/lid-06.pngnew file mode 100644index 0000000..0b03002Binary files /dev/null and b/Assets/CaseLid/lid-06.png differdiff --git a/Assets/CaseLid/lid-07.png b/Assets/CaseLid/lid-07.pngnew file mode 100644index 0000000..e299df3Binary files /dev/null and b/Assets/CaseLid/lid-07.png differdiff --git a/Assets/CaseLid/lid-08.png b/Assets/CaseLid/lid-08.pngnew file mode 100644index 0000000..8e3b152Binary files /dev/null and b/Assets/CaseLid/lid-08.png differdiff --git a/Assets/CaseLid/lid-09.png b/Assets/CaseLid/lid-09.pngnew file mode 100644index 0000000..1b06f45Binary files /dev/null and b/Assets/CaseLid/lid-09.png differdiff --git a/Assets/CaseLid/lid-10.png b/Assets/CaseLid/lid-10.pngnew file mode 100644index 0000000..b354d79Binary files /dev/null and b/Assets/CaseLid/lid-10.png differdiff --git a/Assets/CaseLid/lid-11.png b/Assets/CaseLid/lid-11.pngnew file mode 100644index 0000000..d0be643Binary files /dev/null and b/Assets/CaseLid/lid-11.png differdiff --git a/Assets/NotchShimmer.wav b/Assets/NotchShimmer.wavnew file mode 100644index 0000000..9340c6cBinary files /dev/null and b/Assets/NotchShimmer.wav differdiff --git a/Assets/README.md b/Assets/README.mdnew file mode 100644index 0000000..405621b--- /dev/null+++ b/Assets/README.md@@ -0,0 +1,40 @@+# Assets++The images and sounds that the build copies into the app, and the 3D model that+the case images come from.++| File | What it is | Used for |+|---|---|---|+| `airpods-pro.usdz` | Apple's AirPods Pro 3 AR model, unchanged | The source of the case images |+| `CaseLid/lid.json` | The source hash, the camera, and the data for each frame | A record of how the frames were made |+| `CaseFront.png` | The closed case, upright, with the light facing you | How the case looks when you point |+| `CaseLid/lid-00.png` to `lid-11.png` | The lid going from open to closed | The connection steps |+| `TapClick/click.wav` | A mouse button going down and up (96 ms) | The sound of a tap that clicks |+| `NotchShimmer.wav` | Air and two glass bells (652 ms) | The sound of the notch opening |+| `AppIcon.icns` | The closed case, upright, on a dark tile | The app icon |++## Sources and licenses++- The case images are renders of Apple's AirPods Pro 3 AR model. Apple owns the+ model and its materials.+ [Download it from Apple](https://www.apple.com/105/media/us/airpods-pro/2025/7acffb13-4adb-40b1-9393-8f1c99bc6c90/ar/airpods-pro.usdz),+ linked from the [AirPods Pro specs page](https://www.apple.com/airpods-pro/specs/).+- The two sounds use parts from cuelume, MIT license, (c) 2026 Daniel Belyi. See+ `TapClick/LICENSE-cuelume.txt`.++## Make the case images again++You need Blender. A normal app build uses the saved images, so you only need this+to change them. Run this command from the project folder. It writes to+`work/case-renders`.++```sh+/Applications/Blender.app/Contents/MacOS/Blender --background --factory-startup --threads 8 --python render-closed-case.py -- --only open,closed,pointer,lid,review+```++Then copy `work/case-renders/case-pointer.png` to `Assets/CaseFront.png`, and copy+`work/case-renders/lid/*` to `Assets/CaseLid/`.++All the images use one camera, 12° above the front of the case, so the frames line+up. `seat-earbuds.py` moves the earbuds from Apple's display position into their+seats, so they fit under the closed lid.diff --git a/Assets/TapClick/LICENSE-cuelume.txt b/Assets/TapClick/LICENSE-cuelume.txtnew file mode 100644index 0000000..efd31e4--- /dev/null+++ b/Assets/TapClick/LICENSE-cuelume.txt@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2026 Daniel Belyi++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/Assets/TapClick/click.wav b/Assets/TapClick/click.wavnew file mode 100644index 0000000..e481f55Binary files /dev/null and b/Assets/TapClick/click.wav differ