ANTIGRAVITY AGENT SKILL / WEBGL2 FORENSIC PLAYBOOK / TRẦN HUY HOÀNG

Deconstruct the web's most impossible 3D engines.

Naive scrapers choke on compiled WebGL2 bundles, GPU blocklists, lazy-loaded Draco meshes, and SharedArrayBuffer headers. Creative Web Replicator equips your AI agent with a forensic 5-step pipeline, 4 standalone Node.js tools, and honest 3-tier architectural protocols for studying Awwwards, FWA, and CSSDA studio sites.

$200 USD
One-Time
Strict email-only acquisition. No self-serve checkout, no free tier. Every buyer must email tranhuyhoangstu@gmail.com directly to request a $200 license.

Repository: github.com/hoang-IT-eng/creative-web-replicator

TIER B · SHADED FORM + 2.39:1
SWIFTSHADER · WEBGL2 DRAG TO ORBIT · 60 FPS
KODAK 5219 HALATION · 2.39:1 COOP/COEP: READY

01 / FIDELITY PROTOCOL

Three honest tiers. Zero fake clones.

Most AI agents pretend a flat CSS mockup equals an Active Theory or Gladeye production. This playbook enforces an explicit engineering contract before a single line of code is written — separating local study mirrors from authored re-implementations.

TIER A 1:1 LOCAL STUDY

Offline Mirror & Bundle Extraction

Captures the studio's compiled WebGL engine, shaders, meshes, and audio stems locally via headless Chromium + SwiftShader and serves them with COOP/COEP headers. Exact only when the captured bundle is complete — kept strictly on disk for study.

  • Tools: capture-site.mjs + serve-mirror.mjs
  • Headers: COOP same-origin / COEP credentialless
  • Boundary: Local study only — never redeploy
TIER B 85% – 95% FIDELITY

Authored Engine Re-Implementation

Decode Draco .bin meshes to .glb, split Hydrax concatenated GLSL programs, inspect scene parameters, and rebuild the architecture cleanly in Three.js or React Three Fiber with your own authored timeline, shaders, and procedural audio.

  • Tools: split-shaders.mjs + decode-draco.mjs
  • Recipes: Kodak 5219 halation + Webpack __req hook
  • Boundary: Genuinely authored codebase
TIER C 40% – 50% CEILING

Design System & DOM/GSAP Rebuild

Lightweight editorial landing page capturing typography, aspect-ratio mathematics (--u unit scaling on 1600×900), color grading, and scroll pacing without heavy custom WebGL shaders or baked 3D geometry.

  • Layout: --u: min(100vw/1600, 100vh/900)
  • Stack: Semantic HTML, Vanilla CSS / GSAP
  • Boundary: Fast commercial launch

02 / FORENSIC PIPELINE

Five steps from obfuscated bundle to decoded geometry.

Select each stage below to inspect the exact methodology, command flags, and architectural rationale embedded in SKILL.md and the four helper scripts.

STEP 01 · RECONNAISSANCE

String-Mining Monolithic Bundles

Before touching a crawler, inspect app.js / vendor.js for hardware blocklists (GPU.BLOCKLIST, unsupported, contextloss). Many Hydrax engines expose internal test flags like window.__WEBGL_CONTEXT_LOSS = true that bypass software-rasterizer redirects without spoofing GPU strings.

// Gate predicate discovered in monolithic WebGL bundles
if (UnsupportedRedirect.unsupported() || !Device.graphics.webgl.webgl2) {
  if (!window.__WEBGL_CONTEXT_LOSS) return location.replace(_UNSUPPORTED_PAGE_);
  onContextLoss();
}
  • Identifies documented test escape hatches before booting headless capture.
  • Documents Webpack runtime hooking (self.webpackChunk_N_E.push) for Next.js / Gladeye builds.
  • Avoids brittle guesswork by mapping exact bundle predicates first.

03 / FIELD BENCHMARK

Proven against Active Theory & Plan8 production architecture.

The playbook was forged during a complete forensic breakdown of Santioni Spirits (Hydrax 1.1.20 + Plan8 audio), verified headless with zero page errors and 14 scenes captured under strict localhost isolation.

101 GLSL Programs Extracted from compiled.vs ({@}name{@} tokens)
63 Draco Meshes .bin geometry decoded to inspectable .glb
3,612 Scene Params Keyed camera, fluid & particle values in uil.json
65 Audio Stems 47 .ogg + 18 .mp3 stems (plus Web Audio fallback)
18.8 MB 213 Local Files 14 scenes verified, 0 page errors on 127.0.0.1

* Honesty note: The figures above (101 shaders, 63 meshes, 3,612 parameters) are observations from the Santioni Spirits study documented in references/FIDELITY.md — not generic outputs generated automatically for every website.

04 / INCLUDED ARSENAL

SKILL.md + references/

Complete Antigravity AI agent manual, 3-Tier Fidelity contract, Webpack __req hooking recipe, Kodak 5219 post-processing GLSL, 1600×900 --u layout math, and Plan8 procedural Web Audio synthesis.

Playbook & Case Studies
scripts/capture-site.mjs

Playwright / puppeteer-core + SwiftShader WebGL2 capture engine with automated wheel scrubbing (--cycles), tracker request aborting, explicit --cdn / --all-origins mirroring, and manifest.json output.

Forensic Capture
scripts/serve-mirror.mjs

Zero-dependency local HTTP server injecting COOP: same-origin and COEP: credentialless so SharedArrayBuffer unlocks Draco & KTX2 WebAssembly workers cleanly.

COOP / COEP Server
scripts/split-shaders.mjs

Splits concatenated Hydrax ({@}Name{@}) and comment-delimited GLSL bundles into individual .vs/.fs/.glsl files with an index.json mapping #require dependencies and uniform names.

GLSL Extractor
scripts/decode-draco.mjs

Decodes .drc and raw DRACO-header .bin buffers into standard .glb meshes with a manifest.json detailing vertex counts, face counts, attributes, and bounding boxes.

Geometry Decoder
examples/ + test/

Worked Shopify Editions Winter 2026 capture configuration plus synthetic shader & Draco fixture test suite (npm test).

Verified Fixtures

05 / LICENSE ACQUISITION

$200 flat. Email required to buy.

No automated checkout widget, no discount codes, and no anonymous downloads. Access is granted manually by Trần Huy Hoàng after you send your license request email.