尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Shattter: crack, shatter and prank your screen. iPhone, iPad and iPhone Duo.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗The ultimate glass-breaking gag app for iPhone Duo. Native UIKit + SwiftUI, no dependencies.
| File | Responsibility |
|---|---|
Shattter/Glass/FractureGeometry.swift | Seeded, grid-accelerated Voronoi fractures plus procedural cracks for all 20 patterns, hinge stress webs and multi-impact patterns. Neighbouring shards share identical jagged edges. |
Shattter/Glass/CrackPattern.swift | The 20 crack patterns and their web parameters. |
Shattter/Glass/GlassView+Crackgate.swift | Crackgate Mode: crease crack, stuck pixel block, gotcha card. |
Shattter/Glass/GlassView.swift | Multi-hit crack webs (pre-built pool for instant cracks), hinge stress, intro, effects. |
Shattter/Glass/GlassView+Shatter.swift | Shatter styles, shard physics, Fade In and Rewind repairs. |
Shattter/Screens/ScreenArt.swift | Fake Lock Screen, Home Screen, Messages, Screen Off and photo. |
Shattter/Options/ | Settings model and the hidden SwiftUI options sheet. |
Shattter/Glass/GlassViewController.swift | UIHingeInteraction (iOS 27.1) hinge angle/status updates and shake handling. |
Shattter/Glass/PaneArtwork.swift | Renders the pane and pre-cuts shard sprites off the main thread while cracks spread. |
Shattter/Audio/GlassSynth.swift | Procedural glass synthesis: noise-excited resonator shards, micro-fracture crackle, band-limited crash, ringing pane modes and a diffuse room. No audio files. |
Shattter/Audio/SoundPack.swift | The 10 sound packs and their recipes. |
Shattter/Audio/GlassSound.swift | Pack loading and previews, pooled players, Core Haptics. |
project.yml is the source of truth; run xcodegen generate after adding files.
xcodebuild -project Shattter.xcodeproj -scheme Shattter \
-destination 'platform=iOS Simulator,name=iPhone Duo' -derivedDataPath build build
xcodebuild -project Shattter.xcodeproj -scheme Shattter \
-destination 'platform=iOS Simulator,name=iPhone 18 Pro' -derivedDataPath build-tests test
./scripts/testflight.sh # archive + upload to App Store Connect (build numbers auto-increment)
Tuning tools:
swiftc scripts/FracturePreview/main.swift Shattter/Glass/FractureGeometry.swift Shattter/Glass/CrackPattern.swift -o build/fracture-preview && build/fracture-preview /tmp/patterns.png
swiftc scripts/AppIcon/main.swift Shattter/Glass/FractureGeometry.swift Shattter/Glass/CrackPattern.swift -o build/appicon && build/appicon Shattter/Resources/Assets.xcassets/AppIcon.appiconset/AppIcon.png
Debug builds accept -ShowOptions to open the options sheet at launch. On the simulator, agent-device fold open|half-open|closed --keyframes '[{"atMs":0,"angle":180},{"atMs":800,"angle":120}]' drives the hinge.