# Selvedge / ten further Codrops studies

Read 5 October 2026. These are ten additional articles or substantial technical sections, distinct from the preceding experiment research sets. Observations below are paraphrased; no source code, imagery or assets were copied from Codrops. The resulting woven opening, equations and rendering code are original. Long tutorials were read for the relevant technical sections, not claimed as read line for line in full.

1. [Animating 160,000 Cubes in Three.js to Visualize Dithering](https://tympanus.net/codrops/2026/04/01/animating-160000-cubes-in-three-js-to-visualize-dithering/). Instancing lets a shared shader animate many objects from a normalized progress value. Index-based stagger supplies structure rather than arbitrary delays. For Selvedge this suggested a fixed ribbon mesh and small per-instance attributes; only recipe edits or resize rebuild the strand layout, while transition frames update uniforms.

2. [Building an Endless Procedural Snake with Three.js and WebGL](https://tympanus.net/codrops/2026/02/10/building-an-endless-procedural-snake-with-three-js-and-webgl/). Curve behavior and its rendered surface should remain separate. Tangent continuity and stable frames avoid visible joins and twisting. Selvedge uses an analytic circular roll joined tangentially to a flat ribbon. Its frame derives from the surface itself; there is no accumulating path, clock or simulation history.

3. [Building a Dual-Scene Fluid X-Ray Reveal Effect in Three.js](https://tympanus.net/codrops/2026/03/23/building-a-dual-scene-fluid-x-ray-reveal-effect-in-three-js/). Coverage, dynamics and scene composition are separate responsibilities, but need aligned coordinates. Selvedge separates the backing field from instanced ribbons and their material. Both use one height-based world space and the same origin/radius. Live HTML supplies the destination; no duplicated destination scene or fluid history buffers are necessary.

4. [Making Motion Behave: Inside Vladyslav Penev’s Production-Ready Interaction Systems](https://tympanus.net/codrops/2026/02/04/making-motion-behave-inside-vladyslav-penevs-production-ready-interaction-systems/). Strong interactions preserve DOM layout as their reference and organize motion into reusable, predictable systems. Selvedge keeps the copied Aperture controller as the sole progress owner. Pointer entry changes the origin only while closed. Reversal therefore retraces the same geometry instead of starting a second competing animation.

5. [Composite Rendering: The Brilliance Behind Inspiring WebGL Transitions](https://tympanus.net/codrops/2026/02/23/composite-rendering-the-brilliance-behind-inspiring-webgl-transitions/). Alpha, projection and the order of composition are part of the effect, not cleanup details. Selvedge paints a temporary transparent cover over real content. A backing fills weave gaps outside the opening; depth-tested ribbons sit above it. Two draw calls avoid a broader offscreen compositor for this compact reveal.

6. [Creating a Smooth Horizontal Parallax Gallery: From DOM to WebGL](https://tympanus.net/codrops/2026/02/19/creating-a-smooth-horizontal-parallax-gallery-from-dom-to-webgl/). The DOM can remain the source of bounds and fallback even when GPU visuals replace part of the presentation. Aspect conversion and resize synchronization matter. Selvedge measures its host, uses host height as a world unit and maps normalized CSS origins into that space. It does not upload destination media to WebGL.

7. [Creating Custom Page Transitions in Astro with Barba.js and GSAP](https://tympanus.net/codrops/2026/04/08/creating-custom-page-transitions-in-astro-with-barba-js-and-gsap/). Mounting, awaited transitions and teardown deserve explicit lifecycle contracts. Selvedge retains Aperture promises, interruption results and destroy restoration. Its API can be awaited by a router without adding a router to the demo. The surface owns GPU allocation; the page owns labels, selected content and input events.

8. [Arnaud Rocca’s Portfolio: From a GSAP-Powered Motion System to Fluid WebGL](https://tympanus.net/codrops/2026/03/31/arnaud-roccas-portfolio-from-a-gsap-powered-motion-system-to-fluid-webgl/). Reusable effects and properly scoped cleanup make richer motion manageable. The fluid section also exposes refresh-rate dependence when a solver retains history per frame. Selvedge instead derives every pose from progress, so seeking and reversal are deterministic. Keyboard, reduced-motion and no-JavaScript behavior remain part of the demonstration.

9. [Pell Mell: Crafting a Visual Exploration Platform with Editorial Rhythm](https://tympanus.net/codrops/2026/03/27/pell-mell-crafting-a-visual-exploration-platform-with-editorial-rhythm/). A quiet interface gives the work room to be felt. Selvedge retains the gallery’s restrained frame and isolates material richness inside the stage. Three useful examples, a small set of meaningful controls and a single reveal action demonstrate the effect without requiring a fictional spatial experience or elaborate onboarding.

10. [Reshaping Telha Clarke’s Digital Home from Wordmark to Motion System](https://tympanus.net/codrops/2026/02/25/reshaping-telha-clarkes-digital-home-from-wordmark-to-motion-system/). Precise structure, focused imagery and consistent motion support each other. Selvedge combines warm architectural content with an unmistakably woven cover and restrained navigation. The material carries its own lettering, so the reveal transforms a surface with a purpose rather than adding an unrelated decorative overlay.

## Original direction

Selvedge is a compact touch-origin reveal over an image, website section or card. An opaque woven cover parts in one connected opening. Horizontal and vertical ribbons alternate above/below each other, roll back around the growing edge and carry their printed lettering with their original material coordinates. A gentle tangent-continuous curl and controlled relaxation give the edge depth.

The backing prevents premature content leakage between threads. The normalized origin becomes height-based world coordinates. Radius is monotonic and bounded by the furthest host corner; no remote openings activate. Per-ribbon roll length depends on arrival of that same front. The copied controller provides progress, reversal, pending results, inert/ARIA handoff, resize and cleanup. This is an isolated research fork, not a change to the stable library.

## Deliberate limits

This is a procedural geometric weave, not a physically simulated textile or cloth tearing system. The cover consists of two draw calls: backing and instanced ribbons. The destination remains ordinary DOM. No screenshots, video textures, environment maps, history buffers, idle animation or imported Codrops code. Pixel budget, instance cap and bounded recipes are limits on resources, not universal frame-rate guarantees. Physical iPhone Safari performance is still unmeasured.
