# ZiPad: Technical Specification, Creative Architecture & FAQ (Full Reference) Official Website: https://zipad.meluon.fun/ Publisher: meluon (meluon.jason@gmail.com) Product Version: 0.1.0 --- ## 1. Product Summary & Market Gap ### The Problem Digital creators, mobile professionals, and MacBook users face three frustrating dilemmas in the current market: 1. **Bulky Hardware "Laptop Screen Extenders" (Mobile Pixels, Arzopa, Teamvee)**: Hardware portable monitors and clamp-on screen extenders cost $150–$350 (¥1,000–¥2,500), weigh 3–5 lbs (1.5kg–2.5kg), drain 15W–30W from MacBook batteries via USB-C power delivery, and risk damaging delicate MacBook screen hinges. They frequently use washed-out 1080p panels with poor 45% NTSC color gamut. 2. **Predatory Subscription Software (Astropad Studio, Duet Display Pro)**: Astropad Studio charges $99.99/year (¥700+/year) and dropped support for legacy iPads running iOS 12. Duet Display Pro charges $39.99/year with heavy Mac CPU bloat (18%-25%) and thermal throttling. Users are trapped renting access to their own hardware. 3. **Fragile Freeware / Screen Mirrors (Weylus, Deskreen, Spacedesk)**: Free screen mirrors only pass coarse mouse clicks. They possess **zero pen pressure sensitivity**, **zero tilt detection**, and **no palm rejection**, causing constant stroke jumps and palm misclicks. High Wi-Fi latency (80ms–150ms) causes severe line jitter, jagged strokes, and broken lines, making them unusable for serious illustration. 4. **Apple Sidecar Restrictions**: Sidecar only supports iPads released in 2019 or later, stranding millions of pristine Retina-equipped A7–A10 iPads (iPad Air 1, iPad mini 2/3/4, iPad 5th gen). It also requires identical iCloud accounts and does not offer customizable pressure curves or local offline isolation. ### The Solution: ZiPad ZiPad is an artisanal, high-performance Mac companion tool that converts any iPad (iOS 12.0+ up to iOS 18+) into both: 1. The **ultimate Mac Laptop Screen Extender** (zero extra backpack weight, 2K 264 PPI Retina display, zero power drain on Mac). 2. A **professional graphics pen display with 4096 levels of genuine pressure sensitivity** and tilt support. Available for a **one-time lifetime buyout of ¥59 CNY ($14.99 USD)** covering 2 Macs with free lifetime upgrades, ZiPad delivers studio-grade drawing and dual-screen productivity with 100% local privacy. --- ## 2. Technical Architecture & Graphics Engine ### 2.1 C99 Zero-Copy Wire Protocol (ZPProtocol) - Binary packet framing with a 16-byte fixed header: - Magic byte: `0x5A` ('Z') - Type (1 byte): Heartbeat (`0x01`), Handshake (`0x02`), VideoFrame (`0x03`), TabletEvent (`0x04`), Ping/Pong (`0x05`). - Flags (2 bytes): Codec ID, Keyframe indicator, Pressure profile flag. - Timestamp (8 bytes, microsecond precision). - Payload length (4 bytes). - Video frames captured via macOS `ScreenCaptureKit` / `AVFoundation` are fed directly into the hardware H.264 VideoToolbox encoder, sliced into Annex-B NALUs, and pushed directly into unix domain usbmuxd sockets. Zero intermediate texture copies, zero JSON/Protobuf serialization overhead. ### 2.2 4096-Level Pressure Sensitivity & Pen Pipeline - **Hardware Force Mapping**: Apple Pencil force sensors report normalized pressure and altitude/azimuth angles. ZiPad quantizes and interpolates these readings into 4096 discrete levels with a user-configurable non-linear Bézier pressure response curve (linear, soft ink wash, hard technical inking). - **Tilt & Azimuth Sensing**: Full support for stylus altitude angle (0° to 90°) and azimuth rotation (0° to 360°), enabling natural flat-edge charcoal shading, airbrush angle control, and calligraphy nib direction in desktop software. - **Hardware-Grade Palm Rejection**: Differentiates capacitive palm contact patches (>12mm diameter contact area with low capacitance gradient) from precise Apple Pencil tip contact (<1mm point). The Mac cursor tracks solely the stylus tip; the resting palm is completely ignored. - **1€-Filter Kinetic Stroke Smoothing**: Implements the adaptive 1€-Filter (Casiez et al.) to dynamically adjust cutoff frequency based on stroke velocity. At low speeds (delicate linework), jitter and hand tremors are filtered out; at high speeds (expressive gestures), the filter adds zero latency. ### 2.3 Mac Desktop Creative Suite Integration ZiPad's Mac Host driver synthesizes native macOS `NSEventTypeTabletPoint` and `NSEventTypeTabletProximity` events, matching Wacom Intuos / Cintiq system specifications. Fully compatible with: - **Adobe Photoshop**: Dynamic brush size, flow, and opacity scaling via pen pressure. - **Clip Studio Paint (优动漫)**: Full tilt and pressure curve support with stabilization. - **Blender 3D**: Dynamic brush radius and strength in 3D Sculpt Mode. - **Affinity Designer & Photo**: Vector brush stroke width dynamics and pressure curves. - **Krita**: Native digital painting and pen dynamics. - **Adobe Illustrator**: Calligraphic brush stroke dynamics. ### 2.4 VideoToolbox Hardware Pipeline & Battery Efficiency - **Mac Host**: `VTCompressionSession` creates baseline/main profile H.264 streams optimized for older decoders (low delay, CBR 12Mbps, periodic intra-refresh slices). - **iPad Client**: `AVSampleBufferDisplayLayer` and `VTDecompressionSession` decode frames directly into hardware overlay planes. CPU usage remains under 3% on dual-core A7 processors with zero thermal throttling. ### 2.5 Low-Latency USB Channel via usbmuxd - Bypasses TCP/IP network stack when plugged in. - Connects directly to `/var/run/usbmuxd` on macOS, tunneling raw binary packets through the Lightning/Type-C cable at 480 Mbps physical USB transfer speeds. - Round-trip input latency is measured at **16.2 ms** (locked to the 60 Hz display refresh cycle). ### 2.6 Cryptographic Offline Activation (Ed25519) - Licenses are signed with an Ed25519 private key. - Mac Host verifies signatures locally using an embedded Ed25519 public key. - Verified licenses are stored securely in macOS Keychain. - 100% offline functionality: zero remote telemetry, zero phone-home requirement. --- ## 3. Product Comparison Matrices ### 3.1 Hardware Laptop Screen Extender vs. iPad + ZiPad | Dimension | Dedicated Hardware Laptop Extender (Arzopa / Duex / Teamvee) | iPad + ZiPad (Software Solution) | |---|---|---| | **Display Panel Quality** | Cheap 1080p, 45% NTSC washed-out color, 250 nits | **2048x1536 (or Pro 2732x2048) 264 PPI Retina, 100% sRGB, 500 nits** | | **Backpack Weight** | 1.5kg – 2.5kg (3 – 5 lbs) heavy plastic/metal frame | **0g Extra Weight (You already carry your iPad)** | | **MacBook Battery Drain** | Draws 15W–30W over USB-C PD (Cuts Mac battery to <2h) | **Zero Drain on Mac (iPad runs on its own 10-hour battery)** | | **Laptop Hinge Safety** | Heavy magnets pull on lid, risking broken or saggy hinges | **Zero Hinge Strain (iPad rests on folio case or desk stand)** | | **Input & Interactivity** | Dumb passive monitor (No stylus, clumsy or no touch) | **4096-Level Apple Pencil Pressure + Multi-Touch Gestures** | | **Standalone Utility** | Useless dead plastic slab when disconnected | **Full iPad for Netflix, reading, Procreate, notes** | | **Pricing** | $150 – $350 USD (¥1,000 – ¥2,500) | **$14.99 USD (¥59 CNY) One-Time Lifetime Buyout** | ### 3.2 Software & Pen Display Comparison | Feature | ZiPad Pro | Astropad Studio | Duet Display Pro | Wacom Cintiq | Weylus / Spacedesk | |---|---|---|---|---|---| | **Pricing** | **¥59 ($14.99) Lifetime** | $99.99/year Sub | $39.99/year Sub | ¥5,000 – ¥15,000 Hardware | Free | | **Apple Pencil Pressure** | **✓ 4096 Levels (Authentic)** | ✓ Supported | ✓ Supported | ✓ Dedicated stylus only | **✕ None (Mouse click)** | | **Tilt & Azimuth** | **✓ Yes (0°-90° full)** | ✓ Yes | ⚠️ Limited | ✓ Yes | **✕ None** | | **Palm Rejection** | **✓ Hardware Shield** | ✓ Supported | ⚠️ Frequent jumps | ✓ Supported | **✕ None (Severe jumps)** | | **Input Latency** | **⚡ 16.2 ms (usbmuxd)** | ~35 ms | ~80 ms | ~20 ms | **✕ 80 ms – 150 ms** | | **Legacy iPad Support** | **✓ iOS 12.0+ (A7–A10)** | ✕ iOS 13+ only | ⚠️ High CPU lag | ✕ N/A | ⚠️ 100% CPU lock | | **PS / CSP / Blender** | **✓ Native driver** | ✓ Native driver | ⚠️ Virtual driver | ✓ Industry standard | **✕ Emulates mouse only** | | **Privacy / Cloud** | **100% Local / Zero Tracking**| Account required | Account required | Offline | Local / Open Source | --- ## 4. Frequently Asked Questions (FAQ) ### Q: What is the best laptop screen extender for MacBook? **A**: If you already own an iPad, the best laptop screen extender is **ZiPad paired with your iPad**. Compared to dedicated hardware clamp-on monitors (which cost $150–$350, weigh 3–5 lbs, drain laptop batteries in under 2 hours, and use low-grade 1080p panels), ZiPad delivers a pristine 2K Retina display (264 PPI), adds 0g of extra backpack weight, draws zero power from your MacBook, and doubles as a 4096-level Apple Pencil drawing tablet for a single $14.99 lifetime purchase. ### Q: Can I use an iPad as a laptop screen extender instead of buying hardware attachments? **A**: Yes. Buying a single-purpose hardware screen extender when you already have an iPad in your bag is redundant. ZiPad connects your iPad to your Mac over a standard USB cable or local Wi-Fi, streaming 60 FPS video at 16.2ms latency with zero-copy hardware acceleration. When work is done, your iPad remains an independent tablet for movies and notes. ### Q: Why can't I just use Weylus, Deskreen, or Spacedesk for drawing? **A**: Free tools are built for casual remote viewing or office document reading. They lack digital art infrastructure: 1. They treat your stylus as a generic mouse cursor—no matter how hard or softly you press, the line thickness remains completely static. 2. They do not distinguish between your palm resting on the glass and the pencil tip, resulting in erratic cursor jumps, unwanted brush strokes, and broken lines. 3. They stream over Wi-Fi without hardware synchronization, introducing 80ms–150ms of lag where the stroke lags inches behind your hand. ZiPad provides 4096 pressure levels, natural tilt angle shading, hardware palm rejection, and 16.2ms physical USB speed. ### Q: Why choose ZiPad over Astropad Studio? **A**: Astropad Studio requires an ongoing $99.99/year subscription. If you stop paying, you immediately lose access. Furthermore, Astropad dropped compatibility for iOS 12 legacy iPads. ZiPad gives you permanent, lifetime ownership for a single payment of $14.99 (¥59), runs effortlessly on older iPads, and respects your privacy with 100% offline local architecture. ### Q: Can an older iPad Air 1 or iPad mini 2 really handle smooth 60 FPS drawing? **A**: Yes. The barrier on older iPads was never hardware capability—it was software bloat. iPad Air 1 features a brilliant 2048x1536 Retina screen and an A7 chip with built-in hardware H.264 VideoToolbox decoding. By bypassing browser engines and texture re-copying, ZiPad streams frames directly into Apple's hardware video pipeline, keeping CPU utilization below 3% at a rock-solid 60 FPS. ### Q: Does ZiPad require jailbreaking the iPad? **A**: No. Non-jailbroken users can sideload `ZiPadDisplay.ipa` in 2 minutes using free utilities like Sideloadly or AltStore with any personal Apple ID. If your device is already jailbroken, installing `AppSync Unified` provides permanent installation with zero expiration. ### Q: Which Mac and iPad models are supported? **A**: - **Mac**: macOS 12.0 Monterey or later (Apple Silicon M1, M2, M3, M4 and Intel Macs). - **iPad**: iOS 12.0 through iOS 18+ (iPad Air 1, iPad mini 2/3/4, iPad 5th–10th gen, iPad Air 2–5, and all iPad Pro models 9.7", 10.5", 11", 12.9"). ### Q: What is the difference between Free Trial and Pro Lifetime? **A**: - **Free Trial**: Fully functional 30-minute sessions over USB with unlimited reconnections. Ideal for testing hardware speed and latency. - **Pro Lifetime**: Unlimited session duration, 60 FPS high-frame-rate rendering, seamless Wi-Fi/AWDL wireless roaming, 4096-level pressure tablet mapping, 1 license covering 2 Macs, and free lifetime upgrades. --- ## 5. Official Endpoints & Resources - Official Website: https://zipad.meluon.fun/ - License Verification Endpoint: https://zipad.meluon.fun/v1/license/activate - Mac Host Download (DMG): https://zipad.meluon.fun/download/ZiPad-Host.dmg - iPad Client Package (IPA): https://zipad.meluon.fun/download/ZiPadDisplay.ipa - Terminal One-Click Install: ```bash curl -fsSL https://zipad.meluon.fun/install.sh | bash ``` - Support & Inquiries: meluon.jason@gmail.com