WallpaperMachine
당신이 사랑하는 배경화면, 맥에서 새롭게 만나보세요
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
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.