·Architected a high-performance 2D puzzle engine using Shopify React Native Skia for hardware-accelerated GPU canvas rendering at a locked 60 FPS.
·Designed a reverse-growth procedural generation algorithm and deterministic solver for 700+ levels across creative themed silhouettes (Guitar, Dolphin, Taxi, Controller).
·Engineered organic 1440ms arrow uncoiling spawn animations with a 2-frame post-mount gate and single GPU draw call radial dot grid ripple effects.
·Crafted an uncluttered minimalist aesthetic with adaptive dark/light palettes, tactile spring haptics, ambient audio, and offline-first gameplay.
Engineering Challenges
·Arrow Smooth Animation Without Lag: Standard React Native View and SVG-based board rendering suffered from severe JS bridge serialization overhead and noticeable frame drops (jank) during rapid arrow flight releases and dense multi-arrow boards. Standard React Native rendering was unable to maintain 60 FPS under rapid gestures.
·Mitigation: Completely migrated game board rendering to Shopify React Native Skia (@shopify/react-native-skia). Built custom SkiaGridBoard and SkiaArrow components that construct native SkPaths with quadratic bezier fillets and arrowhead geometry directly on the GPU canvas, eliminating bridge bottlenecks and locking 60 FPS.
·Solvable Level Generation & Silhouette Mazes: Generating 700+ unique handcrafted puzzles across complex geometric silhouette bounds (Guitar, Dolphin, Controller, Taxi, Skull, Piano) while mathematically guaranteeing that every configuration has a deterministic, solvable exit sequence with zero deadlock.
·Mitigation: Engineered a reverse-growth procedural generation algorithm powered by Mulberry32 PRNG. Arrows are grown backwards from perimeter exit heads into available silhouette cells, scored by raycast dependency depth, directional run rhythms, and vertex degrees. Included a topological difficulty analyzer computing cognitive step depth to sequence progressive difficulty tiers.
·Level Entry Arrow Spawn & Dot Ripple Lag: The 1440ms organic uncoiling spawn animation and background dot matrix initially caused level transition stutter due to layout settle timers, hundreds of synchronous getPosTan Skia queries per arrow, and empty dot bands when filtering resting arrows.
·Mitigation: Created prepareSpawnGeometry to pre-sample quadratic corner arcs in JS upfront, replaced layout settle timers with a tight 2-frame post-mount start gate on the UI thread, and batched the entire dot matrix into Skia Points rendered in a single GPU draw call per radial ripple ring across all coordinates.
Architectural Decisions
·Adopted Shopify React Native Skia over standard SVG and React Native View hierarchies to execute all game board drawing, bezier fillets, and animations directly on the GPU canvas.
·Implemented reverse-solve procedural generation with deterministic seeds (Mulberry32 PRNG) to guarantee every puzzle is mathematically solvable while eliminating server dependencies.
·Combined single-draw-call Skia Points for the background dot grid with a 2-frame spawn gate to ensure instant, zero-lag level transitions on budget Android devices.
·Kept gameplay 100% offline-first with zero analytics tracking, COPPA/GDPR compliance, and seamless Google Play Games cloud save and leaderboard synchronization.