المؤثرات · All You Need Is Taste · أول أمس
Cloth, as an Effect: one WebGL engine that hangs any picture as a sheet of cloth.
A grid of vertices (28 per side, 80 when it must twirl) is moved toward the viewer by three sine waves — one long wave along the width and two cross waves that a `stiff` sheet drops — held still at a pinned edge (left like a flag on a pole, top like a banner on a rail, or none), shaded by its own folds and seen through a 45° perspective. The pointer raises a ripple where it passes; a tap pokes one. Three opt-in extras are the forms our landings gave it: a twirl (the tips of a long banner curl up in spirals when the hand comes near or presses), an unroll (a strip pinned left comes out to `reveal` with a frayed edge and a rolled end, tiled along its length, sagging and snaking), and a box callback that places the sheet yourself. Our landings already wear it fifteen ways: Vroeg's bidder banners and ribbon, Tamarro's leopard car-park flags, price tag and assembly manual, Cent Moustaches' velvet standard, toile and wax label, Unclaimable's mummy bandage, museum flag and claim tag, Pennichelli's car cover, speeding ticket and picnic blanket.
هل يناسبك؟
مناسب لـ
- صورة هيرو معلّقة كعَلَم أو لافتة أو شراع
- علامة منسوجات أو أزياء أو مهرجان تريد سطحًا ناعمًا متحركًا
- ملصق أو صورة يجب أن تبدو ملموسة، لا ممرَّرة فقط
غير مناسب لـ
- الهواتف الضعيفة، إذ تعمل موجات WebGL في كل إطار
- صفحات بصور كثيرة يحتاج كلٌّ منها إلى canvas خاص













