add beginning of visualization for statistics, unmodified from blog code

This commit is contained in:
2023-05-16 06:22:19 -06:00
parent fb7d51ac4c
commit a9844e6e78
17 changed files with 461 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
import { WebGLRenderer } from "three";
function createRenderer() {
const renderer = new WebGLRenderer({ antialias: true });
// turn on the physically correct lighting model
renderer.physicallyCorrectLights = true;
return renderer;
}
export { createRenderer };