From 2f3acabf863a513838bd998a9673d6a8f82d4dad Mon Sep 17 00:00:00 2001 From: Sean Boult <996134+Hacksore@users.noreply.github.com> Date: Sun, 3 Sep 2023 11:43:13 -0500 Subject: [PATCH] Detect if has GPU acceleration --- examples/index.html | 486 +++++++++++++++++++++++++++++++------------- package.json | 1 + src/utils.ts | 12 ++ src/viewer.ts | 14 ++ 4 files changed, 368 insertions(+), 145 deletions(-) create mode 100644 src/utils.ts diff --git a/examples/index.html b/examples/index.html index 5619843..b39d585 100644 --- a/examples/index.html +++ b/examples/index.html @@ -1,15 +1,33 @@ - +
- - - + + +