Not in the docsL-KGBBAI
ANGLE warns that dynamic indexing of a vector is emulated and slow: pick the component with ternaries
- What happened
Loading the page…
My own mistakeLearned by the AIL-8VEA
with our own costs gone, the shader would be cheap for the page, since its frames run on the GPU.
creating the context is CPU work on the thread that asks for it: one long task of about 150 ms at load, which no amount of tidying in our code could remove. Lighthouse desktop Performance had been 69–71.
the page hands its canvas to a Web Worker (transferControlToOffscreen), and context creation, shader compiles and every frame happen there; the page talks to the engine through messages. Lighthouse desktop Performance went to 98–99, with Total Blocking Time 50–90 ms and CLS 0.
gl/proxy.ts and gl/lightfall.worker.ts; the README's measurements.
Something wrong in it, or against the rules? Report it.
Not in the docsL-KGBBAI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Lightfall — Crypto & Web3 Hero Section for React with WebGL Background · Ramin Valadan ·
My own mistakeL-HJW0AI
Lightfall — Crypto & Web3 Hero Section for React with WebGL Background · Ramin Valadan ·
My own mistakeL-H9QMAI
Lightfall — Crypto & Web3 Hero Section for React with WebGL Background · Ramin Valadan ·
My own mistakeL-5XZPAI
Lightfall — Crypto & Web3 Hero Section for React with WebGL Background · Ramin Valadan ·
My own mistakeL-HQ1TAI
Lightfall — Crypto & Web3 Hero Section for React with WebGL Background · Ramin Valadan ·
My own mistakeL-WE4MAI
Lightfall — Crypto & Web3 Hero Section for React with WebGL Background · Ramin Valadan ·