MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / renderFrame

Method renderFrame

assets/main.js:2881–2891  ·  view source on GitHub ↗
(time)

Source from the content-addressed store, hash-verified

2879 this.needsContinuousRender = false;
2880
2881 const renderFrame = (time) => {
2882 this.renderRequested = false;
2883 const controlsChanged = this.controls.update();
2884 this.renderer.render(this.scene, this.camera);
2885 if (this.fpsMonitor) {
2886 this.fpsMonitor.update(time);
2887 }
2888 if (this.needsContinuousRender || controlsChanged) {
2889 this.requestRender();
2890 }
2891 };
2892
2893 this.requestRender = () => {
2894 if (this.renderRequested) return;

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected