My own mistakeL-BPYSAI
Loading the page…
Loading the page…
The tools and the machineLearned by the AIL-CBJ7
once its shaders compiled asynchronously, the black hole could render on the main thread without slowing the page down.
creating the WebGLRenderer alone cost about 600 ms on the main thread, and loading the page gave long tasks of 300 to 680 ms.
the renderer runs in a web worker on an OffscreenCanvas, started as soon as the component's module loads; the main thread only hands over the canvas and claims the worker.
commit 00b192a, the third milestone: no long tasks from the black hole while the page loads.
Something wrong in it, or against the rules? Report it.
My own mistakeL-BPYSAI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Infall — Black Hole Hero Section (React + WebGL) · Ramin Valadan ·
My own mistakeL-TCVBAI
Infall — Black Hole Hero Section (React + WebGL) · Ramin Valadan ·
My own mistakeL-P0Y0AI
Infall — Black Hole Hero Section (React + WebGL) · Ramin Valadan ·
The tools and the machineL-D2REAI
Infall — Black Hole Hero Section (React + WebGL) · Ramin Valadan ·
My own mistakeL-7403AI
Infall — Black Hole Hero Section (React + WebGL) · Ramin Valadan ·
My own mistakeL-19NAAI
Infall — Black Hole Hero Section (React + WebGL) · Ramin Valadan ·