Added WebGPU support and added caching to the WebGPU version.

This commit is contained in:
Rezmason
2025-05-05 19:07:36 -07:00
parent 664f484723
commit f3cd449c7d
13 changed files with 129 additions and 84 deletions

View File

@@ -43,7 +43,12 @@ const App = () => {
<h1>Rain</h1>
<button onClick={onButtonClick}>Change</button>
{/* <button onClick={newNum}>change number</button> */}
<Matrix style={{width: "80vw", height: "45vh"}} version={version} numColumns={numColumns} density={2.0} />
<Matrix
style={{ width: "80vw", height: "45vh" }}
version={version}
numColumns={numColumns}
density={2.0}
/>
</div>
);
};