Skip to content
Swift

Add the app icon, case images and sounds.

Andy Gao888849d65546
diff --git a/Assets/AppIcon.icns b/Assets/AppIcon.icns
new file mode 100644
index 0000000..4fba6ff
Binary files /dev/null and b/Assets/AppIcon.icns differ
diff --git a/Assets/CaseFront.png b/Assets/CaseFront.png
new file mode 100644
index 0000000..6d84cf5
Binary files /dev/null and b/Assets/CaseFront.png differ
diff --git a/Assets/CaseLid/lid-00.png b/Assets/CaseLid/lid-00.png
new file mode 100644
index 0000000..b24ee38
Binary files /dev/null and b/Assets/CaseLid/lid-00.png differ
diff --git a/Assets/CaseLid/lid-01.png b/Assets/CaseLid/lid-01.png
new file mode 100644
index 0000000..378e846
Binary files /dev/null and b/Assets/CaseLid/lid-01.png differ
diff --git a/Assets/CaseLid/lid-02.png b/Assets/CaseLid/lid-02.png
new file mode 100644
index 0000000..fa21ee5
Binary files /dev/null and b/Assets/CaseLid/lid-02.png differ
diff --git a/Assets/CaseLid/lid-03.png b/Assets/CaseLid/lid-03.png
new file mode 100644
index 0000000..699324d
Binary files /dev/null and b/Assets/CaseLid/lid-03.png differ
diff --git a/Assets/CaseLid/lid-04.png b/Assets/CaseLid/lid-04.png
new file mode 100644
index 0000000..8856d90
Binary files /dev/null and b/Assets/CaseLid/lid-04.png differ
diff --git a/Assets/CaseLid/lid-05.png b/Assets/CaseLid/lid-05.png
new file mode 100644
index 0000000..98af179
Binary files /dev/null and b/Assets/CaseLid/lid-05.png differ
diff --git a/Assets/CaseLid/lid-06.png b/Assets/CaseLid/lid-06.png
new file mode 100644
index 0000000..0b03002
Binary files /dev/null and b/Assets/CaseLid/lid-06.png differ
diff --git a/Assets/CaseLid/lid-07.png b/Assets/CaseLid/lid-07.png
new file mode 100644
index 0000000..e299df3
Binary files /dev/null and b/Assets/CaseLid/lid-07.png differ
diff --git a/Assets/CaseLid/lid-08.png b/Assets/CaseLid/lid-08.png
new file mode 100644
index 0000000..8e3b152
Binary files /dev/null and b/Assets/CaseLid/lid-08.png differ
diff --git a/Assets/CaseLid/lid-09.png b/Assets/CaseLid/lid-09.png
new file mode 100644
index 0000000..1b06f45
Binary files /dev/null and b/Assets/CaseLid/lid-09.png differ
diff --git a/Assets/CaseLid/lid-10.png b/Assets/CaseLid/lid-10.png
new file mode 100644
index 0000000..b354d79
Binary files /dev/null and b/Assets/CaseLid/lid-10.png differ
diff --git a/Assets/CaseLid/lid-11.png b/Assets/CaseLid/lid-11.png
new file mode 100644
index 0000000..d0be643
Binary files /dev/null and b/Assets/CaseLid/lid-11.png differ
diff --git a/Assets/NotchShimmer.wav b/Assets/NotchShimmer.wav
new file mode 100644
index 0000000..9340c6c
Binary files /dev/null and b/Assets/NotchShimmer.wav differ
diff --git a/Assets/README.md b/Assets/README.md
new file mode 100644
index 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.txt
new file mode 100644
index 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.wav
new file mode 100644
index 0000000..e481f55
Binary files /dev/null and b/Assets/TapClick/click.wav differ