Tất cả hình nền
Xoắn ốc
SpiralDùng trong mã React
1. Cài thư viện
npm i @udemi/hinh-nen2. Dán thành phần vào trang
import { Spiral } from "@udemi/hinh-nen"; export function HinhNen() { return ( <Spiral colorBack="#001429" colorFront="#79D1FF" density={1} distortion={0} strokeWidth={0.5} strokeTaper={0} strokeCap={0} noise={0} noiseFrequency={0} softness={0} speed={1} scale={1} rotation={0} offsetX={0} offsetY={0} style={{ width: "100%", aspectRatio: "16 / 9" }} /> ); }
Hiệu ứng dựng bằng Paper Shaders của Paper, giấy phép Apache 2.0.