Skip to content

Stats

Lightweight performance panel displaying FPS and frame time (ms).

Usage

ts
import { create3dApp } from '@threeuse/core'
import { Stats } from '@threeuse/core/plugins'

const app = create3dApp()
app.use(Stats, { position: 'top-left' })

app.$stats // panel instance

Options

OptionTypeDefaultDescription
position'top-left' | 'top-right' | 'bottom-left' | 'bottom-right''top-left'Panel position

Demo

Released under the MIT License.